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

jeremyhu at macports.org jeremyhu at macports.org
Fri Jun 17 00:31:56 PDT 2011


Revision: 79543
          http://trac.macports.org/changeset/79543
Author:   jeremyhu at macports.org
Date:     2011-06-17 00:31:53 -0700 (Fri, 17 Jun 2011)
Log Message:
-----------
liboil: darwin11 build fix

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

Modified: trunk/dports/devel/liboil/Portfile
===================================================================
--- trunk/dports/devel/liboil/Portfile	2011-06-17 01:03:10 UTC (rev 79542)
+++ trunk/dports/devel/liboil/Portfile	2011-06-17 07:31:53 UTC (rev 79543)
@@ -50,3 +50,17 @@
 		reinplace "s|__HOST_CPU__|${build_arch}|" ${worksrcpath}/configure
 	}
 }
+
+platform darwin 11 {
+	# NB: won't work for universal building, but this port doesn't support it yet
+	patchfiles-append host_cpu.diff
+	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.
+	configure.compiler gcc-4.2
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110617/402c1431/attachment.html>


More information about the macports-changes mailing list