[SCM] Debian packaging for jack-audio-connection-kit branch, master, updated. debian/0.118+svn3796-3-20-gaf67c19

js at users.alioth.debian.org js at users.alioth.debian.org
Thu Mar 11 01:34:24 UTC 2010


The following commit has been merged in the master branch:
commit 3fbc8ab2733f733506ed70f53545e37b50cc2011
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Mar 11 02:20:42 2010 +0100

    Use filter (not findstring) to parse DEB_BUILD_OPTIONS, as mandated by Debian Policy §4.9.1 since version 3.8.0.

diff --git a/debian/rules b/debian/rules
index 5268807..554c2a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,7 +38,7 @@ endif
 DEB_DH_INSTALLINIT_ARGS := -- start 99 2 3 4 5 . stop 10 0 1 6 .
 
 # to avoid stripping when nostrip is set in DEB_BUILD_OPTIONS
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
   DEB_CONFIGURE_EXTRA_FLAGS += --enable-stripped-jackd
 endif
 
@@ -46,7 +46,7 @@ ifeq ($(DEB_HOST_GNU_SYSTEM),linux-gnu)
   DEB_CONFIGURE_EXTRA_FLAGS += --with-default-tmpdir=/dev/shm 
 endif
 
-ifneq (,$(findstring doopt,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter doopt,$(DEB_BUILD_OPTIONS)))
 # do optimization for the different architectures
   ifneq (,$(findstring i386,$(DEB_BUILD_ARCH)))
     DEB_CONFIGURE_EXTRA_FLAGS += --enable-optimize --enable-sse --enable-mmx -enable-dynsimd
@@ -56,7 +56,7 @@ ifneq (,$(findstring doopt,$(DEB_BUILD_OPTIONS)))
   endif
 endif
 
-ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 # do optimization for the different architectures
 # ifneq (,$(findstring i386,$(DEB_HOST_GNU_CPU)))
 # 		DEB_CONFIGURE_EXTRA_FLAGS += --enable-optimize

-- 
Debian packaging for jack-audio-connection-kit



More information about the pkg-multimedia-commits mailing list