Modified: trunk/dports/textproc/unsort/Portfile (74460 => 74461)
--- trunk/dports/textproc/unsort/Portfile 2010-12-18 05:09:21 UTC (rev 74460)
+++ trunk/dports/textproc/unsort/Portfile 2010-12-18 05:13:31 UTC (rev 74461)
@@ -21,6 +21,16 @@
patchfiles patch-Makefile
-configure {
+post-patch {
reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile
}
+
+use_configure no
+
+variant universal {}
+if {[variant_isset universal]} {
+ set archflags ${configure.universal_cflags}
+} else {
+ set archflags ${configure.cc_archflags}
+}
+build.args CC="${configure.cc} ${archflags}"