[Pkg-voip-commits] [asterisk] 11/34: Treat PJProject and SDL as experimental: Disable in non-experimental releases. Closes: Bug#804460, #792303.
Jonas Smedegaard
dr at jones.dk
Sun Mar 20 18:39:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository asterisk.
commit 554c0785cfc54f70f52dba9b97bb9373a26c79d5
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sat Mar 19 21:15:55 2016 +0100
Treat PJProject and SDL as experimental: Disable in non-experimental releases. Closes: Bug#804460, #792303.
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index 1fd00b4..8a860ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -65,6 +65,9 @@ URL := http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-$(
# fetch script that always returns an error.
FETCH_ENV = PATH=$$PATH:$(CURDIR)/debian/dummyprogs
+# resplve if release is experimental
+EXP_RELEASE := $(if $(shell dpkg-parsechangelog | grep -x 'Distribution: \(experimental\|UNRELEASED\)'),exp)
+
override_dh_autoreconf:
if [ ! -r configure.debian_sav ]; then cp -a configure configure.debian_sav; fi
[ -f .version.debian_sav ] || cp -a .version .version.debian_sav
@@ -88,6 +91,7 @@ override_dh_auto_configure:
--with-gsm \
--with-imap=system \
--without-pwlib \
+ $(if $(EXP_RELEASE),,--without-pjproject --without-sdl) \
${ENABLE_DEBUG}
# --with-cap \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/asterisk.git
More information about the Pkg-voip-commits
mailing list