[31418] trunk/dports/sysutils/getopt/Portfile

nox at macports.org nox at macports.org
Thu Nov 22 11:57:59 PST 2007


Revision: 31418
          http://trac.macosforge.org/projects/macports/changeset/31418
Author:   nox at macports.org
Date:     2007-11-22 11:57:58 -0800 (Thu, 22 Nov 2007)

Log Message:
-----------
getopt: Fixed universal support.

Modified Paths:
--------------
    trunk/dports/sysutils/getopt/Portfile

Modified: trunk/dports/sysutils/getopt/Portfile
===================================================================
--- trunk/dports/sysutils/getopt/Portfile	2007-11-22 19:40:54 UTC (rev 31417)
+++ trunk/dports/sysutils/getopt/Portfile	2007-11-22 19:57:58 UTC (rev 31418)
@@ -48,8 +48,8 @@
 
 variant universal {
     post-patch {
-        reinplace -E "s/^CFLAGS/s|\$| ${configure.universal_cflags}|" ${worksrcpath}/Makefile
-        reinplace -E "s/^LDFLAGS/s|\$| ${configure.universal_ldflags}|" ${worksrcpath}/Makefile
+        reinplace -E "/^CFLAGS/s|\$| ${configure.universal_cflags}|" ${worksrcpath}/Makefile
+        reinplace -E "/^LDFLAGS/s|\$| ${configure.universal_ldflags}|" ${worksrcpath}/Makefile
     }
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071122/77b5586b/attachment.html


More information about the macports-changes mailing list