[87059] trunk/dports/www/elinks-devel/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Nov 8 15:23:06 PST 2011
Revision: 87059
http://trac.macports.org/changeset/87059
Author: ryandesign at macports.org
Date: 2011-11-08 15:23:06 -0800 (Tue, 08 Nov 2011)
Log Message:
-----------
elinks-devel: simplify getting archflags
Modified Paths:
--------------
trunk/dports/www/elinks-devel/Portfile
Modified: trunk/dports/www/elinks-devel/Portfile
===================================================================
--- trunk/dports/www/elinks-devel/Portfile 2011-11-08 23:18:28 UTC (rev 87058)
+++ trunk/dports/www/elinks-devel/Portfile 2011-11-08 23:23:06 UTC (rev 87059)
@@ -40,12 +40,10 @@
patchfiles patch-Makefile.lib.diff patch-configure.diff
+variant universal {}
+
post-patch {
- if {[variant_isset universal]} {
- reinplace "s|@ARCHS@|${configure.universal_ldflags}|" ${worksrcpath}/Makefile.lib
- } else {
- reinplace "s|@ARCHS@|-arch ${build_arch}|" ${worksrcpath}/Makefile.lib
- }
+ reinplace "s|@ARCHS@|[get_canonical_archflags]|g" ${worksrcpath}/Makefile.lib
}
configure.args \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111108/ee59b5f1/attachment.html>
More information about the macports-changes
mailing list