[80260] trunk/dports/devel/boehmgc/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Thu Jul 7 17:25:10 PDT 2011


Revision: 80260
          http://trac.macports.org/changeset/80260
Author:   jeremyhu at macports.org
Date:     2011-07-07 17:25:09 -0700 (Thu, 07 Jul 2011)
Log Message:
-----------
boehmgc: Don't define _XOPEN_SOURCE on Tiger as it's not needed for ucontext.h and Tiger's sys/mman.h doesn't understand _DARWIN_C_SOURCE for MAP_ANON

Modified Paths:
--------------
    trunk/dports/devel/boehmgc/Portfile

Modified: trunk/dports/devel/boehmgc/Portfile
===================================================================
--- trunk/dports/devel/boehmgc/Portfile	2011-07-08 00:17:09 UTC (rev 80259)
+++ trunk/dports/devel/boehmgc/Portfile	2011-07-08 00:25:09 UTC (rev 80260)
@@ -29,6 +29,13 @@
 	configure.args-append  --enable-redirect-malloc
 }
 
+platform darwin 8 {
+	# Not needed to "force" ucontext.h on Tiger, and it actually
+	# forces POSIX sys/mman.h which breaks the build there because
+	# Tiger's sys/mman.h doesn't recognize _DARWIN_C_SOURCE
+	configure.cppflags-delete -D_XOPEN_SOURCE=600
+}
+
 # This is now fixed in upstream svn and should be in the next release
 patchfiles asm.patch
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110707/f8e0e8b1/attachment.html>


More information about the macports-changes mailing list