From aee9c55f1e001fe94800f9e76cb147ee2cd83701 Mon Sep 17 00:00:00 2001 From: "Aaron M. Ucko" Date: Fri, 5 Aug 2016 19:37:34 -0400 Subject: [PATCH] d/rules: Properly build run_with_lock (#833538). Don't actually install it, of course. --- debian/changelog | 4 +++- debian/rules | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index c349ddfb..5378c456 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ ncbi-blast+ (2.4.0-3) UNRELEASED; urgency=medium * NOT YET RELEASED. + * debian/rules: Properly build (but don't install) run_with_lock. + (Closes: #833538.) - -- Aaron M. Ucko Fri, 05 Aug 2016 19:34:40 -0400 + -- Aaron M. Ucko Fri, 05 Aug 2016 19:37:34 -0400 ncbi-blast+ (2.4.0-2) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index ae92289c..464a554b 100755 --- a/debian/rules +++ b/debian/rules @@ -39,6 +39,9 @@ endif export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MAKE +# used for run_with_lock +DEB_CONFIGURE_EXTRA_FLAGS += CFLAGS_FOR_BUILD="$(CFLAGS) -fPIE" +DEB_CONFIGURE_EXTRA_FLAGS += LDFLAGS_FOR_BUILD="$(LDFLAGS)" llp=LD_LIBRARY_PATH override_dh_auto_configure: @@ -77,7 +80,7 @@ override_dh_install-arch: $(instroot)/bin/windowmasker_2.2.22_adapter # Clean up tests, demos, and internal build tools rm -f $(instroot)/bin/*test* $(instroot)/bin/seqdb_demo \ - $(instroot)/bin/datatool \ + $(instroot)/bin/datatool $(instroot)/bin/run_with_lock \ $(instroot)/bin/project_tree_builder for x in $(instroot)/bin/*; do \ LD_LIBRARY_PATH=c++/BUILD/lib ldd $$x; \ -- 2.30.2