[32996] trunk/dports/archivers/unzip/Portfile

afb at macports.org afb at macports.org
Wed Jan 16 02:00:50 PST 2008


Revision: 32996
          http://trac.macosforge.org/projects/macports/changeset/32996
Author:   afb at macports.org
Date:     2008-01-16 02:00:49 -0800 (Wed, 16 Jan 2008)

Log Message:
-----------
make sure to handle slashes in configure.universal_ldflags

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

Modified: trunk/dports/archivers/unzip/Portfile
===================================================================
--- trunk/dports/archivers/unzip/Portfile	2008-01-16 09:23:58 UTC (rev 32995)
+++ trunk/dports/archivers/unzip/Portfile	2008-01-16 10:00:49 UTC (rev 32996)
@@ -51,7 +51,7 @@
 	build.args-append "LOCAL_UNZIP=\"${configure.universal_cflags}\""
 
 	post-patch {
-		reinplace -E "/-O3/s/(LF2=\")/\\1${configure.universal_ldflags}/" \
+		reinplace -E "/-O3/s|(LF2=\")|\\1${configure.universal_ldflags}|" \
 			${worksrcpath}/unix/Makefile
 	}
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080116/4aca78c1/attachment.html


More information about the macports-changes mailing list