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

jeremyhu at macports.org jeremyhu at macports.org
Wed Jun 15 18:52:12 PDT 2011


Revision: 79504
          http://trac.macports.org/changeset/79504
Author:   jeremyhu at macports.org
Date:     2011-06-15 18:52:12 -0700 (Wed, 15 Jun 2011)
Log Message:
-----------
boehmgc: darwin11 build fix

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

Modified: trunk/dports/devel/boehmgc/Portfile
===================================================================
--- trunk/dports/devel/boehmgc/Portfile	2011-06-16 01:50:03 UTC (rev 79503)
+++ trunk/dports/devel/boehmgc/Portfile	2011-06-16 01:52:12 UTC (rev 79504)
@@ -30,9 +30,16 @@
 }
 
 platform darwin 10 {
-	configure.cflags-append -D_XOPEN_SOURCE
+	configure.cflags-append -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE
 }
 
+platform darwin 11 {
+	configure.cflags-append -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE
+
+	# llvm-gcc-4.2 and clang fail to build os_dep.c as of 2011.06.15
+	configure.compiler gcc-4.2
+}
+
 test.run	yes
 test.target	check
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110615/66956045/attachment.html>


More information about the macports-changes mailing list