Revision
79976
Author
jeremyhu@macports.org
Date
2011-06-30 22:44:20 -0700 (Thu, 30 Jun 2011)

Log Message

lensfun: fall back on llvm-gcc if clang is the default compiler

Modified Paths

Diff

Modified: trunk/dports/graphics/lensfun/Portfile (79975 => 79976)


--- trunk/dports/graphics/lensfun/Portfile	2011-07-01 04:50:14 UTC (rev 79975)
+++ trunk/dports/graphics/lensfun/Portfile	2011-07-01 05:44:20 UTC (rev 79976)
@@ -32,6 +32,12 @@
 patchfiles          patch-pkgconfig.diff \
                     patch-build-tibs-target-mac-mak.diff
 
+# BUILD FIX TODO:
+# 2011.06.30 -- clang reports that there is some inline asm it can't handle yet
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2 
+}
+
 platform powerpc {
         configure.args    --target=mac.powerpc.powerpc \
                           --vectorization=''