diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-15 00:17:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-15 00:17:12 +0000 |
commit | 24f27428d2d577d6f28f4f3712c99a1c9c32065b (patch) | |
tree | 41fa6d711cc7203988483c4d3c1b700270a79cf6 /sys-devel/libtool/files | |
parent | Fix digests. (diff) | |
download | historical-24f27428d2d577d6f28f4f3712c99a1c9c32065b.tar.gz historical-24f27428d2d577d6f28f4f3712c99a1c9c32065b.tar.bz2 historical-24f27428d2d577d6f28f4f3712c99a1c9c32065b.zip |
fix bashism to be portable #77842 by Brad House
Package-Manager: portage-2.0.51-r12
Diffstat (limited to 'sys-devel/libtool/files')
-rw-r--r-- | sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch | 2 |
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 |