[85690] trunk/dports/devel/GitX/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Oct 15 17:43:18 PDT 2011
Revision: 85690
http://trac.macports.org/changeset/85690
Author: ryandesign at macports.org
Date: 2011-10-15 17:43:16 -0700 (Sat, 15 Oct 2011)
Log Message:
-----------
GitX: simplify setting archflags
Modified Paths:
--------------
trunk/dports/devel/GitX/Portfile
Modified: trunk/dports/devel/GitX/Portfile
===================================================================
--- trunk/dports/devel/GitX/Portfile 2011-10-16 00:21:40 UTC (rev 85689)
+++ trunk/dports/devel/GitX/Portfile 2011-10-16 00:43:16 UTC (rev 85690)
@@ -50,15 +50,7 @@
post-patch {
file delete -force ${worksrcpath}/Sparkle.framework
-}
-
-configure {
- if {[variant_isset universal]} {
- set arch_flags ${configure.universal_cflags}
- } else {
- set arch_flags ${configure.cc_archflags}
- }
- reinplace "s|make CFLAGS=\\\\\"-arch .*\\\\\"|make CFLAGS=\\\\\"${arch_flags}\\\\\"|g" \
+ reinplace "s|make CFLAGS=\\\\\"-arch .*\\\\\"|make CFLAGS=\\\\\"[get_canonical_archflags]\\\\\"|g" \
${worksrcpath}/GitX.xcodeproj/project.pbxproj
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111015/a298ef71/attachment.html>
More information about the macports-changes
mailing list