[68403] trunk/dports/sysutils/getopt/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Jun 2 17:46:35 PDT 2010
Revision: 68403
http://trac.macports.org/changeset/68403
Author: ryandesign at macports.org
Date: 2010-06-02 17:46:30 -0700 (Wed, 02 Jun 2010)
Log Message:
-----------
getopt: support changing build_arch; see #24623
Modified Paths:
--------------
trunk/dports/sysutils/getopt/Portfile
Modified: trunk/dports/sysutils/getopt/Portfile
===================================================================
--- trunk/dports/sysutils/getopt/Portfile 2010-06-02 22:47:59 UTC (rev 68402)
+++ trunk/dports/sysutils/getopt/Portfile 2010-06-03 00:46:30 UTC (rev 68403)
@@ -57,6 +57,12 @@
reinplace -E "/^LDFLAGS/s|\$| ${configure.universal_ldflags}|" ${worksrcpath}/Makefile
}
}
+if {![variant_isset universal]} {
+ post-patch {
+ reinplace -E "/^CFLAGS/s|\$| ${configure.cc_archflags}|" ${worksrcpath}/Makefile
+ reinplace -E "/^LDFLAGS/s|\$| ${configure.cc_archflags}|" ${worksrcpath}/Makefile
+ }
+}
livecheck.type regex
livecheck.url ${homepage}download.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100602/753f44aa/attachment.html>
More information about the macports-changes
mailing list