Modified: trunk/dports/archivers/xdelta/Portfile (70880 => 70881)
--- trunk/dports/archivers/xdelta/Portfile 2010-08-24 19:28:35 UTC (rev 70880)
+++ trunk/dports/archivers/xdelta/Portfile 2010-08-24 19:41:21 UTC (rev 70881)
@@ -4,6 +4,7 @@
name xdelta
version 3.0z
+revision 1
categories archivers
maintainers perry openmaintainer
platforms darwin
@@ -14,7 +15,7 @@
license GPLv2
homepage http://code.google.com/p/xdelta/
-livecheck.regex "name=xdelta(.+)\.tar\.gz"
+livecheck.regex {name=xdelta(.+)\.tar\.gz}
livecheck.type regex
livecheck.url ${homepage}
@@ -25,6 +26,14 @@
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}"
build.target xdelta3
destroot {