[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#476078: Patch suggestion



tag 476078 +patch
thanks

Hi, the attached patch does what I suggested, and only adds the
--with-alsa and --with-arts-alsa options to the configure call on linux
architectures, letting the others do with auto detection.

Thanks

Regis
diff -u kdemultimedia-3.5.9/debian/rules kdemultimedia-3.5.9/debian/rules
--- kdemultimedia-3.5.9/debian/rules
+++ kdemultimedia-3.5.9/debian/rules
@@ -6,11 +6,16 @@
 include /usr/share/cdbs/1/rules/utils.mk
 
 DEB_CONFIGURE_EXTRA_FLAGS := \
-	--with-alsa --with-arts-alsa \
 	--with-extra-includes=/usr/include/speex:/usr/include/kde/arts
 	# The include/kde/arts one should be temporary. See
 	# "juk/Makefile.am: arts_includes vs ARTS_CFLAGS" in -talk.
 
+DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+ifeq ($(DEB_HOST_ARCH_OS), linux)
+DEB_CONFIGURE_EXTRA_FLAGS += --with-alsa --with-arts-alsa
+endif
+
 DOC_HTML_PRUNE := kcontrol
 
 DEB_DH_STRIP_ARGS  := --dbg-package=kdemultimedia-dbg

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: