[80141] trunk/dports/devel/liboil/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Jul 5 00:21:17 PDT 2011


Revision: 80141
          http://trac.macports.org/changeset/80141
Author:   jeremyhu at macports.org
Date:     2011-07-05 00:21:17 -0700 (Tue, 05 Jul 2011)
Log Message:
-----------
liboil: clang build fix

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

Modified: trunk/dports/devel/liboil/Portfile
===================================================================
--- trunk/dports/devel/liboil/Portfile	2011-07-05 07:15:17 UTC (rev 80140)
+++ trunk/dports/devel/liboil/Portfile	2011-07-05 07:21:17 UTC (rev 80141)
@@ -59,10 +59,7 @@
 	}
 }
 
-# BUILD FIX TODO:
-# llvm-gcc-4.2 and clang fail to build as of 2011.06.16
-# This is an error in the package.
-if {${configure.compiler} == "llvm-gcc-4.2" ||
-    ${configure.compiler} == "clang"} {
-	configure.compiler gcc-4.2
+# icky inline asm... clang doesn't want to touch it, but we can force it
+if {${configure.compiler} == "clang"} {
+	configure.cflags-append -fheinous-gnu-extensions
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110705/31b582f0/attachment.html>


More information about the macports-changes mailing list