summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-15 00:17:12 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-15 00:17:12 +0000
commit8de16becee6bb4f426231edd2c93dec2c2b88261 (patch)
tree5d67923eaa0cccfba9762a2b928ae87c9a939c06 /sys-devel/libtool
parentFix digests. (diff)
downloadgentoo-2-8de16becee6bb4f426231edd2c93dec2c2b88261.tar.gz
gentoo-2-8de16becee6bb4f426231edd2c93dec2c2b88261.tar.bz2
gentoo-2-8de16becee6bb4f426231edd2c93dec2c2b88261.zip
fix bashism to be portable #77842 by Brad House
(Portage version: 2.0.51-r12)
Diffstat (limited to 'sys-devel/libtool')
-rw-r--r--sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch b/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch
index d6b8cd0016af..9145bc76cdca 100644
--- a/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch
+++ b/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch
@@ -5,7 +5,7 @@
CC_quoted="$CC_quoted $arg"
done
+ # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
-+ trimedcc="${CC/${host}-}"
++ trimedcc=`echo ${CC} | $SED -e "/${host}-//g"`
case "$@ " in
+ "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
+ tagname=CC