[70881] trunk/dports/archivers/xdelta/Portfile

perry at macports.org perry at macports.org
Tue Aug 24 12:41:21 PDT 2010


Revision: 70881
          http://trac.macports.org/changeset/70881
Author:   perry at macports.org
Date:     2010-08-24 12:41:21 -0700 (Tue, 24 Aug 2010)
Log Message:
-----------
Committed ryandesign's patch for archivers/xdelta. Addresses #26225.

Modified Paths:
--------------
    trunk/dports/archivers/xdelta/Portfile

Modified: trunk/dports/archivers/xdelta/Portfile
===================================================================
--- 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 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100824/34a48192/attachment-0001.html>


More information about the macports-changes mailing list