1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/graphics/libpano13/files/patch-configure.ac
Dmitry Marakasov 0615320735 - Try to fix build on dragonfly
Approved by:	portmgr blanket
2017-10-25 20:36:25 +00:00

23 lines
638 B
Plaintext

--- configure.ac.orig Fri Jun 16 13:30:54 2006
+++ configure.ac Wed Jan 17 10:40:32 2007
@@ -45,6 +45,11 @@
;;
esac
;;
+ *freebsd*|dragonfly)
+ PANO_WIN32_RESOURCE=
+ HSYS=freebsd
+ HCPU="${target_cpu}"
+ ;;
*darwin*)
PANO_WIN32_RESOURCE=
HSYS=darwin
@@ -73,6 +78,7 @@
AM_CONDITIONAL(HAVE_DARWIN, test "${HSYS}" = "darwin")
AM_CONDITIONAL(HAVE_LINUX, test "${HSYS}" = "linux")
+AM_CONDITIONAL(HAVE_FREEBSD, test "${HSYS}" = "freebsd")
AM_CONDITIONAL(HAVE_MAC, test "${HSYS}" = "classic")
AM_CONDITIONAL(HAVE_MINGW, test "${HSYS}" = "mingw32")
AM_CONDITIONAL(HAVE_CYGWIN, test "${HSYS}" = "cygwin")