[57673] trunk/dports/devel/GitX/Portfile
mnick at macports.org
mnick at macports.org
Mon Sep 14 13:39:59 PDT 2009
Revision: 57673
http://trac.macports.org/changeset/57673
Author: mnick at macports.org
Date: 2009-09-14 13:39:54 -0700 (Mon, 14 Sep 2009)
Log Message:
-----------
use predefined variables to set correct archflags
Modified Paths:
--------------
trunk/dports/devel/GitX/Portfile
Modified: trunk/dports/devel/GitX/Portfile
===================================================================
--- trunk/dports/devel/GitX/Portfile 2009-09-14 20:16:53 UTC (rev 57672)
+++ trunk/dports/devel/GitX/Portfile 2009-09-14 20:39:54 UTC (rev 57673)
@@ -35,15 +35,11 @@
}
configure {
- set arch_flags {}
if {[variant_isset universal]} {
- foreach arch ${universal_archs} {
- lappend arch_flags -arch ${arch}
- }
+ set arch_flags [portconfigure::configure_get_universal_archflags]
} else {
- lappend arch_flags -arch ${build_arch}
+ set arch_flags ${configure.cc_archflags}
}
-
reinplace "s|make CFLAGS=\\\\\"-arch .*\\\\\"|make CFLAGS=\\\\\"${arch_flags}\\\\\"|g" \
${worksrcpath}/GitX.xcodeproj/project.pbxproj
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090914/757f9b73/attachment.html>
More information about the macports-changes
mailing list