From ccf709be43aa386725f454997b7ba8d6ec03b606 Mon Sep 17 00:00:00 2001 From: ketmar Date: Thu, 8 Nov 2012 04:26:28 +0200 Subject: [PATCH] n900 deb: DEB_BUILD_OPTIONS=sound to force sound --- debian/rules | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 524a37e..0d6a65d 100755 --- a/debian/rules +++ b/debian/rules @@ -25,10 +25,17 @@ DESTDIR = $(CURDIR)/debian/awish-bld # CFLAGS += -O2 #endif + +ifneq (,$(findstring sound,$(DEB_BUILD_OPTIONS))) + FORCE_SOUND = --enable-sound +else + FORCE_SOUND = +endif + configure: configure-stamp configure-stamp: dh_testdir - jam configure --prefix=/usr --install-awasm --install-vmsrc + jam configure --prefix=/usr --install-awasm --install-vmsrc $(FORCE_SOUND) touch $@ -- 2.11.4.GIT