[59862] trunk/dports/archivers/zip/Portfile

landonf at macports.org landonf at macports.org
Sat Oct 24 18:32:23 PDT 2009


Revision: 59862
          http://trac.macports.org/changeset/59862
Author:   landonf at macports.org
Date:     2009-10-24 18:32:20 -0700 (Sat, 24 Oct 2009)
Log Message:
-----------
Fix +universal:
- Update the reinplace regexp to match the current sources
- Work-around base's automake-specific setting of --disable-dependency-tracking

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

Modified: trunk/dports/archivers/zip/Portfile
===================================================================
--- trunk/dports/archivers/zip/Portfile	2009-10-25 00:53:45 UTC (rev 59861)
+++ trunk/dports/archivers/zip/Portfile	2009-10-25 01:32:20 UTC (rev 59862)
@@ -37,6 +37,11 @@
 configure.pre_args	CC=\"\${CC}\" flags \
 					${args}
 
+# The automake-specific --disable-dependency-tracking is added to all configure arguments
+# when +universal is enabled -- we work around this behavior by removing the flag
+# explicitly.
+configure.universal_args-delete --disable-dependency-tracking
+
 build.target		generic
 build.args			${args}
 
@@ -55,7 +60,7 @@
 	configure.args	"LOCAL_ZIP=\"${configure.universal_cflags}\""
 
 	post-patch {
-		reinplace -E "s|(LFLAGS1=\")|\\1${configure.universal_ldflags}|" \
+		reinplace -E "s|(LFLAGS1=')|\\1${configure.universal_ldflags}|" \
 			${worksrcpath}/unix/configure
 	}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091024/6c2d95d2/attachment.html>


More information about the macports-changes mailing list