[28998] trunk/dports/devel/agprocess/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 12 15:59:16 PDT 2007
Revision: 28998
http://trac.macosforge.org/projects/macports/changeset/28998
Author: nox at macports.org
Date: 2007-09-12 15:59:16 -0700 (Wed, 12 Sep 2007)
Log Message:
-----------
agprocess:
* Removed cd call.
* Removed dummy configure as there is a custom universal variant.
Modified Paths:
--------------
trunk/dports/devel/agprocess/Portfile
Modified: trunk/dports/devel/agprocess/Portfile
===================================================================
--- trunk/dports/devel/agprocess/Portfile 2007-09-12 22:57:46 UTC (rev 28997)
+++ trunk/dports/devel/agprocess/Portfile 2007-09-12 22:59:16 UTC (rev 28998)
@@ -27,18 +27,17 @@
worksrcdir ${my_name}
-# Dummy configure to enable universal variant
-configure {}
+use_configure no
xcode.target ${my_name}
xcode.destroot.type framework
variant universal {
post-patch {
- cd ${worksrcpath}/${my_name}.pbproj
+ set pbxproject ${worksrcpath}/${my_name}.pbproj/project.pbxproj
- reinplace -E "/OTHER_CFLAGS/s|\"\"|\"${configure.universal_cflags}\"|" project.pbxproj
- reinplace -E "/OTHER_LDFLAGS/s|\"\"|\"${configure.universal_ldflags}\"|" project.pbxproj
+ reinplace -E "/OTHER_CFLAGS/s|\"\"|\"${configure.universal_cflags}\"|" ${pbxproject}
+ reinplace -E "/OTHER_LDFLAGS/s|\"\"|\"${configure.universal_ldflags}\"|" ${pbxproject}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070912/65958842/attachment.html
More information about the macports-changes
mailing list