[51913] trunk/dports/multimedia/x264/Portfile
toby at macports.org
toby at macports.org
Sat Jun 6 02:03:45 PDT 2009
Revision: 51913
http://trac.macports.org/changeset/51913
Author: toby at macports.org
Date: 2009-06-06 02:03:45 -0700 (Sat, 06 Jun 2009)
Log Message:
-----------
protect from universal_sysroot removal
Modified Paths:
--------------
trunk/dports/multimedia/x264/Portfile
Modified: trunk/dports/multimedia/x264/Portfile
===================================================================
--- trunk/dports/multimedia/x264/Portfile 2009-06-06 09:00:07 UTC (rev 51912)
+++ trunk/dports/multimedia/x264/Portfile 2009-06-06 09:03:45 UTC (rev 51913)
@@ -84,7 +84,10 @@
configure {
foreach arch ${universal_archs} {
set my_arch_flag "-arch ${arch}"
- set my_cflags "${configure.cflags} -isysroot ${universal_sysroot} ${my_arch_flag} -I${prefix}/include -L${prefix}/lib"
+ set my_cflags "${configure.cflags} ${my_arch_flag} -I${prefix}/include -L${prefix}/lib"
+ if {[info exists universal_sysroot]} {
+ set my_cflags "${my_cflags} -isysroot ${universal_sysroot}"
+ }
set my_ldflags "${configure.ldflags} ${my_arch_flag}"
set my_configure_args "--host=${arch}-apple-darwin"
if {[string equal ${arch} ppc ] || [string equal ${arch} ppc64 ]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090606/303b3f3a/attachment.html>
More information about the macports-changes
mailing list