freebsd-ports/security/cyrus-sasl2/files/patch-config::ltmain.sh
Hajimu UMEMOTO acd5ef69f9 backout use of USE_INC_LIBTOOL_VER. libtool13 is marked as
DEPRECATED.  libtool15 is incompatible, and I couldn't find
how to build and install static libs by libtool15.

Suggensted by:	Angelo Turetta <aturetta@commit.it>
2005-02-26 20:23:15 +00:00

33 lines
1.3 KiB
Bash

Index: config/ltmain.sh
diff -u config/ltmain.sh.orig config/ltmain.sh
--- config/ltmain.sh.orig Wed Jul 2 22:29:00 2003
+++ config/ltmain.sh Wed Jul 16 02:57:20 2003
@@ -1901,7 +1901,7 @@
deplib_matches=`eval \\$echo \"$library_names_spec\"`
set dummy $deplib_matches
deplib_match=$2
- if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+ if test `expr "X$ldd_output" : "X.*$deplib_match"` -ne 0 ; then
newdeplibs="$newdeplibs $i"
else
droppeddeps=yes
@@ -1931,7 +1931,7 @@
deplib_matches=`eval \\$echo \"$library_names_spec\"`
set dummy $deplib_matches
deplib_match=$2
- if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+ if test `expr "X$ldd_output" : "X.*$deplib_match"` -ne 0 ; then
newdeplibs="$newdeplibs $i"
else
droppeddeps=yes
@@ -3396,8 +3396,8 @@
# Install the pseudo-library for information purposes.
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
+ #$show "$install_prog $instname $destdir/$name"
+ #$run eval "$install_prog $instname $destdir/$name" || exit $?
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"