[64469] trunk/dports/devel/libtool/Portfile

jmr at macports.org jmr at macports.org
Sat Mar 6 13:49:08 PST 2010


Revision: 64469
          http://trac.macports.org/changeset/64469
Author:   jmr at macports.org
Date:     2010-03-06 13:49:07 -0800 (Sat, 06 Mar 2010)
Log Message:
-----------
libtool: use system grep and sed (#19237)

Modified Paths:
--------------
    trunk/dports/devel/libtool/Portfile

Modified: trunk/dports/devel/libtool/Portfile
===================================================================
--- trunk/dports/devel/libtool/Portfile	2010-03-06 21:01:02 UTC (rev 64468)
+++ trunk/dports/devel/libtool/Portfile	2010-03-06 21:49:07 UTC (rev 64469)
@@ -24,8 +24,10 @@
 
 depends_build   port:automake
 
-depends_lib     port:grep \
+if {${os.platform} != "darwin"} {
+    depends_lib port:grep \
                 port:gsed
+}
 
 #worksrcdir      [strsed $distname {s/[a-z]*$//}]
 
@@ -43,6 +45,11 @@
 test.run        yes
 test.target     check
 
+platform darwin {
+    configure.env-append GREP=/usr/bin/grep \
+                         SED=/usr/bin/sed
+}
+
 livecheck.type  regex
 livecheck.url   http://ftp.gnu.org/gnu/${name}/?C=M&O=D
 livecheck.regex ${name}-(\\d+(?:\\.\\d+)*\[a-z\]?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100306/374993bc/attachment-0001.html>


More information about the macports-changes mailing list