SOURCES: rpm-libtool-deps.patch - updated

arekm arekm at pld-linux.org
Mon Nov 27 12:08:55 CET 2006


Author: arekm                        Date: Mon Nov 27 11:08:55 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated

---- Files affected:
SOURCES:
   rpm-libtool-deps.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/rpm-libtool-deps.patch
diff -u SOURCES/rpm-libtool-deps.patch:1.2 SOURCES/rpm-libtool-deps.patch:1.3
--- SOURCES/rpm-libtool-deps.patch:1.2	Sun Nov 26 23:31:17 2006
+++ SOURCES/rpm-libtool-deps.patch	Mon Nov 27 12:08:50 2006
@@ -6,7 +6,7 @@
  	case "$possible" in
  	*.la)
 -	    if grep -iq '^# Generated by ltmain.sh' "$possible" 2> /dev/null ; then
-+	    $possible="`readlink -f "$possible"`"
++	    possible="`readlink -f "$possible" 2> /dev/null || echo "$possible"`"
 +	    if file "$possible" | grep -iq 'libtool library file' 2> /dev/null ; the
  		possible="`echo ${possible} | sed -e s,${RPM_BUILD_ROOT}/,/,`"
  		echo "libtool($possible)"
@@ -15,7 +15,8 @@
  	    do
  		case "$dep" in
  		/*.la)
-+		    $dep="`readlink -f "$dep"`"
++		    dep="`readlink -f "$dep" 2> /dev/null || echo "$dep"`"
  		    echo "libtool($dep)"
  		    ;;
  		esac
+
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm-libtool-deps.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list