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:


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to