[91840] trunk/dports/_resources/port1.0/group/perl5-1.0.tcl

jeremyhu at macports.org jeremyhu at macports.org
Wed Apr 11 12:41:38 PDT 2012


Revision: 91840
          https://trac.macports.org/changeset/91840
Author:   jeremyhu at macports.org
Date:     2012-04-11 12:41:37 -0700 (Wed, 11 Apr 2012)
Log Message:
-----------
perl5: Use /usr/bin/sed instead of gsed

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/perl5-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/perl5-1.0.tcl	2012-04-11 19:00:31 UTC (rev 91839)
+++ trunk/dports/_resources/port1.0/group/perl5-1.0.tcl	2012-04-11 19:41:37 UTC (rev 91840)
@@ -147,10 +147,9 @@
 
         # CCFLAGS can be passed in to "configure" but it's not necessarilary inherited
         # LDFLAGS can't be passed in (or if it can, it's not easy to figure out how)
-        depends_build port:gsed
         post-configure {
-            system "find ${worksrcpath} -name Makefile | xargs ${prefix}/bin/gsed -i '/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/' \;"
-            system "find ${worksrcpath} -name Makefile | xargs ${prefix}/bin/gsed -i '/^OTHERLDFLAGS *=/s/$/ [get_canonical_archflags ld]/'"
+            system "find ${worksrcpath} -name Makefile | xargs /usr/bin/sed -i \"\" '/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/' \;"
+            system "find ${worksrcpath} -name Makefile | xargs /usr/bin/sed -i \"\" '/^OTHERLDFLAGS *=/s/$/ [get_canonical_archflags ld]/'"
         }
 
         test.run            yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120411/d14b138d/attachment.html>


More information about the macports-changes mailing list