1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Reduce warnings during build on 5-CURRENT.

Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
This commit is contained in:
Hajimu UMEMOTO 2003-07-02 09:42:15 +00:00
parent e045dd5f10
commit 3daa1a78aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84033

View File

@ -1,7 +1,25 @@
Index: config/ltmain.sh
diff -u config/ltmain.sh.orig config/ltmain.sh
--- config/ltmain.sh.orig Thu Jun 12 09:32:43 2003
+++ config/ltmain.sh Tue Jul 1 01:07:11 2003
+++ config/ltmain.sh Wed Jul 2 11:50:04 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
@@ -1959,7 +1959,7 @@
set dummy $deplibs_check_method
file_magic_regex="`expr \"$deplibs_check_method\" : \"$2 \(.*\)\"`"