openbsd-ports/x11/fluxbox/patches/patch-ltmain_sh

22 lines
1.0 KiB
Plaintext

$OpenBSD: patch-ltmain_sh,v 1.1 2005/01/23 12:44:10 matthieu Exp $
--- ltmain.sh.orig Mon Jan 17 22:50:49 2005
+++ ltmain.sh Sat Jan 22 15:26:14 2005
@@ -561,7 +561,7 @@ if test -z "$show_help"; then
# Evaluate the configuration.
eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
# user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
- trimedcc="${CC/${host}-}"
+ trimedcc="${CC#${host}-}"
case "$base_compile " in
"gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
tagname=CC
@@ -954,7 +954,7 @@ EOF
# Evaluate the configuration.
eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
# user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
- trimedcc="${CC/${host}-}"
+ trimedcc="${CC#${host}-}"
case $base_compile in
"gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
tagname=CC