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

jeremyhu at macports.org jeremyhu at macports.org
Fri Apr 6 14:58:22 PDT 2012


Revision: 91606
          https://trac.macports.org/changeset/91606
Author:   jeremyhu at macports.org
Date:     2012-04-06 14:58:21 -0700 (Fri, 06 Apr 2012)
Log Message:
-----------
zip: Don't use handrolled asm for +universal, build fix

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

Modified: trunk/dports/archivers/zip/Portfile
===================================================================
--- trunk/dports/archivers/zip/Portfile	2012-04-06 21:29:53 UTC (rev 91605)
+++ trunk/dports/archivers/zip/Portfile	2012-04-06 21:58:21 UTC (rev 91606)
@@ -65,6 +65,12 @@
 		reinplace -E "s|(LFLAGS1=')|\\1${configure.universal_ldflags}|" \
 			${worksrcpath}/unix/configure
 	}
+
+	post-configure {
+		reinplace "s/-DASMV -DASM_CRC//" ${worksrcpath}/flags
+		reinplace "s/match.o//g" ${worksrcpath}/flags
+		reinplace "s/crc_i386.o//g" ${worksrcpath}/flags
+	}
 }
 
 livecheck.type	regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120406/c50a89ce/attachment.html>


More information about the macports-changes mailing list