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

jeremyhu at macports.org jeremyhu at macports.org
Mon Jul 4 02:25:03 PDT 2011


Revision: 80098
          http://trac.macports.org/changeset/80098
Author:   jeremyhu at macports.org
Date:     2011-07-04 02:25:03 -0700 (Mon, 04 Jul 2011)
Log Message:
-----------
liboil: Fallback on gcc-4.2 based on selected compiler rather than platform

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

Modified: trunk/dports/devel/liboil/Portfile
===================================================================
--- trunk/dports/devel/liboil/Portfile	2011-07-04 09:22:38 UTC (rev 80097)
+++ trunk/dports/devel/liboil/Portfile	2011-07-04 09:25:03 UTC (rev 80098)
@@ -57,10 +57,12 @@
 	post-patch {
 		reinplace "s|__HOST_CPU__|${build_arch}|" ${worksrcpath}/configure
 	}
+}
 
-	# BUILD FIX TODO:
-	# llvm-gcc-4.2 and clang fail to build as of 2011.06.16
-	# This is an error in the package.
+# 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
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110704/b2f617c3/attachment.html>


More information about the macports-changes mailing list