Revision
80141
Author
jeremyhu@macports.org
Date
2011-07-05 00:21:17 -0700 (Tue, 05 Jul 2011)

Log Message

liboil: clang build fix

Modified Paths

Diff

Modified: trunk/dports/devel/liboil/Portfile (80140 => 80141)


--- 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
 }