[med-svn] r6893 - trunk/packages/ncbi-blast-plus/trunk/debian

Aaron M. Ucko ucko at alioth.debian.org
Mon May 30 15:31:19 UTC 2011


Author: ucko
Date: 2011-05-30 15:31:19 +0000 (Mon, 30 May 2011)
New Revision: 6893

Modified:
   trunk/packages/ncbi-blast-plus/trunk/debian/rules
Log:
override_dh_auto_configure: respect existing LD_LIBRARY_PATH settings,
notably from fakeroot, though best practice remains to use it more
selectively (e.g., debuild -rfakeroot).


Modified: trunk/packages/ncbi-blast-plus/trunk/debian/rules
===================================================================
--- trunk/packages/ncbi-blast-plus/trunk/debian/rules	2011-05-30 08:26:54 UTC (rev 6892)
+++ trunk/packages/ncbi-blast-plus/trunk/debian/rules	2011-05-30 15:31:19 UTC (rev 6893)
@@ -16,8 +16,9 @@
 DEB_CONFIGURE_EXTRA_FLAGS += --with-optimization
 endif
 
+llp=LD_LIBRARY_PATH
 override_dh_auto_configure:
-	cd c++  &&  LD_LIBRARY_PATH=$(CURDIR)/c++/BUILD/lib \
+	cd c++  &&  $(llp)=$(CURDIR)/c++/BUILD/lib$${$(llp)+:$$$(llp)} \
 	    ./configure $(DEB_CONFIGURE_EXTRA_FLAGS)
 
 override_dh_auto_build:




More information about the debian-med-commit mailing list