Modified: trunk/dports/sysutils/getopt/Portfile (68402 => 68403)
--- 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