--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: denemo: FTBFS on GNU/kFreeBSD (due to unsatisfied Build-Depends on libasound2-dev)
- From: Petr Salinger <Petr.Salinger@seznam.cz>
- Date: Mon, 3 Jul 2006 22:25:00 +0200 (CEST)
- Message-id: <Pine.LNX.4.62.0607032217290.6980@sci.felk.cvut.cz>
Package: denemo
Version: 0.7.5-2
Severity: important
Hi,
the current version has unsatisfied Build-Depends on
libasound2-dev under non-linux ports.
This package is able to use OSS under GNU/kFreeBSD,
it builds fine without libasound2-dev installed with patch bellow.
Please, could you exclude linux specific package in Build-Depends
by using "libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]"
and apply patch bellow to debian/rules.
Thanks for your cooperation.
Petr
diff -u denemo-0.7.5/debian/rules denemo-0.7.5/debian/rules
--- denemo-0.7.5/debian/rules
+++ denemo-0.7.5/debian/rules
@@ -14,4 +14,8 @@
-DEB_CONFIGURE_EXTRA_FLAGS := --enable-alsa \
- --with-plugins="analysis" \
+DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+DEB_CONFIGURE_EXTRA_FLAGS := --with-plugins="analysis" \
--enable-gtk2
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+DEB_CONFIGURE_EXTRA_FLAGS += --enable-alsa
+endif
--- End Message ---