[47979] trunk/dports/graphics/jpeg/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Wed Mar 11 16:45:25 PDT 2009


Revision: 47979
          http://trac.macports.org/changeset/47979
Author:   mcalhoun at macports.org
Date:     2009-03-11 16:45:25 -0700 (Wed, 11 Mar 2009)
Log Message:
-----------
jpeg: Improve readability of regular expression.

Modified Paths:
--------------
    trunk/dports/graphics/jpeg/Portfile

Modified: trunk/dports/graphics/jpeg/Portfile
===================================================================
--- trunk/dports/graphics/jpeg/Portfile	2009-03-11 23:38:26 UTC (rev 47978)
+++ trunk/dports/graphics/jpeg/Portfile	2009-03-11 23:45:25 UTC (rev 47979)
@@ -43,7 +43,7 @@
 
     # Reorder link flags so that so that local -L options come first (especially before -L${prefix}/lib)
     #     (see http://trac.macports.org/ticket/16411).
-    reinplace "s|\\(.*\\)\\(\$(LDFLAGS)\\)\\(.*\\)\\(\$(LDLIBS)\\)\\(.*\\)|\\1\\4\\3\\2\\5|" ${worksrcpath}/makefile.cfg
+    reinplace {s|\(.*\)\($(LDFLAGS)\)\(.*\)\($(LDLIBS)\)\(.*\)|\1\4\3\2\5|} ${worksrcpath}/makefile.cfg
 
     # As in the case of -L, CPPFLAGS come before -I. during compilation.
     configure.cppflags-append -isystem${prefix}/include
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090311/ecb9986c/attachment.html>


More information about the macports-changes mailing list