SPECS: qt.spec - don't add current dir to LD_LIBRARY_PATH if it's ...

qboosh qboosh at pld-linux.org
Sat Mar 8 22:55:18 CET 2008


Author: qboosh                       Date: Sat Mar  8 21:55:18 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- don't add current dir to LD_LIBRARY_PATH if it's empty

---- Files affected:
SPECS:
   qt.spec (1.389 -> 1.390) 

---- Diffs:

================================================================
Index: SPECS/qt.spec
diff -u SPECS/qt.spec:1.389 SPECS/qt.spec:1.390
--- SPECS/qt.spec:1.389	Wed Dec 19 03:58:01 2007
+++ SPECS/qt.spec	Sat Mar  8 22:55:13 2008
@@ -775,7 +775,7 @@
 %build
 export QTDIR=`/bin/pwd`
 export PATH=$QTDIR/bin:$PATH
-export LD_LIBRARY_PATH=$QTDIR/%{_lib}:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=$QTDIR/%{_lib}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
 
 %if "%{_lib}" != "lib"
 	ln -sf lib "%{_lib}"
@@ -1327,6 +1327,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.390  2008-03-08 21:55:13  qboosh
+- don't add current dir to LD_LIBRARY_PATH if it's empty
+
 Revision 1.389  2007-12-19 02:58:01  sls
 - more info about problem with parallel build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/qt.spec?r1=1.389&r2=1.390&f=u



More information about the pld-cvs-commit mailing list