[apr] 02/04: re-add logic to force bash in libtool

Stefan Fritsch sf at moszumanska.debian.org
Mon Dec 30 15:53:38 UTC 2013


This is an automated email from the git hooks/post-receive script.

sf pushed a commit to annotated tag debian/1.4.8-3
in repository apr.

commit 6ad8f0754ab9c9fd6aadbcba01807ff7dda9e0c6
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sat Nov 23 00:21:24 2013 +0100

    re-add logic to force bash in libtool
---
 debian/changelog | 9 +++++++++
 debian/rules     | 5 ++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 60bcc79..c61fed0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+apr (1.4.8-3) UNRELEASED; urgency=low
+
+  * Re-add the logic to force use of bash for configure/libtool. Otherwise,
+    if the package is build with /bin/sh -> /bin/bash, the shipped libtool
+    won't work on systems with /bin/sh -> /bin/dash. This got lost in
+    1.4.8-2. Closes: #730196
+
+ -- Stefan Fritsch <sf at debian.org>  Sat, 16 Nov 2013 18:31:00 +0100
+
 apr (1.4.8-2) unstable; urgency=low
 
   * Merge some changes from Ubuntu's 1.4.8-1ubuntu1:
diff --git a/debian/rules b/debian/rules
index f6dcbf6..3335e4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -76,7 +76,10 @@ override_dh_auto_configure:
 	mkdir -p $(BUILDDIR)/docs
 	for f in $(SAVE_FILES) ; do [ -e $$f.dr-orig ] || cp -p $$f $$f.dr-orig ; done
 	./buildconf
-	cd $(BUILDDIR) && $(CURDIR)/configure $(CONFFLAGS)
+	# We need to force the use of bash here. Otherwise, if apr is built with
+	# /bin/sh -> /bin/bash, the resulting libtool will not work on systems
+	# where /bin/sh -> /bin/dash.
+	cd $(BUILDDIR) && CONFIG_SHELL=/bin/bash /bin/bash $(CURDIR)/configure $(CONFFLAGS)
 ifeq (linux,$(DEB_HOST_ARCH_OS))
 	if grep -q APR_HAS_POSIXSEM_SERIALIZE.*0 $(BUILDDIR)/include/apr.h ;\
 	then \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apr.git



More information about the Pkg-apache-commits mailing list