[137297] trunk/dports/devel/libtool/Portfile
larryv at macports.org
larryv at macports.org
Mon Jun 8 11:06:04 PDT 2015
Revision: 137297
https://trac.macports.org/changeset/137297
Author: larryv at macports.org
Date: 2015-06-08 11:06:04 -0700 (Mon, 08 Jun 2015)
Log Message:
-----------
libtool: Consolidate grep/gsed logic
Modified Paths:
--------------
trunk/dports/devel/libtool/Portfile
Modified: trunk/dports/devel/libtool/Portfile
===================================================================
--- trunk/dports/devel/libtool/Portfile 2015-06-08 18:06:02 UTC (rev 137296)
+++ trunk/dports/devel/libtool/Portfile 2015-06-08 18:06:04 UTC (rev 137297)
@@ -34,14 +34,12 @@
}
# Don't let configure detect MacPorts' grep or gsed (#19237).
-if {${os.platform} ne "darwin"} {
- depends_lib-append port:grep port:gsed
+if {${os.platform} eq "darwin"} {
+ configure.env-append GREP=/usr/bin/grep SED=/usr/bin/sed
+} else {
+ depends_lib-append port:grep port:gsed
}
-platform darwin {
- configure.env GREP=/usr/bin/grep \
- SED=/usr/bin/sed
-}
# Don't look for broken compilers (#23684, #32321).
configure.env-append GCJ=no
configure.fc no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150608/fb556535/attachment-0001.html>
More information about the macports-changes
mailing list