Package: sndobj Severity: important Tags: patch Hi,
The current version of sndobj fails to build on GNU/kFreeBSD, because the build-dependency on libasound2-dev, which is Linux specific, could not been satisfied. Please find attached a patch to fix that. It would be nice if you could include it in the next upload. Thanks in advance, Aurelien -- System Information: Debian Release: testing/unstable Architecture: kfreebsd-i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: GNU/kFreeBSD 5.4-1-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Author: aurel32 Status: in BTS diff -u sndobj-2.6.1a/debian/control sndobj-2.6.1a/debian/control --- sndobj-2.6.1a/debian/control +++ sndobj-2.6.1a/debian/control @@ -2,7 +2,7 @@ Section: sound Priority: optional Maintainer: Guenter Geiger (Debian/GNU) <[EMAIL PROTECTED]> -Build-Depends: debhelper (>> 3.0.0), cdbs, fftw-dev, libasound2-dev, libjack0.100.0-dev | libjack-dev +Build-Depends: debhelper (>> 3.0.0), cdbs, fftw-dev, libasound2-dev [!kfreebsd-i386], libjack0.100.0-dev | libjack-dev Standards-Version: 3.6.2 Package: libsndobj-dev diff -u sndobj-2.6.1a/debian/rules sndobj-2.6.1a/debian/rules --- sndobj-2.6.1a/debian/rules +++ sndobj-2.6.1a/debian/rules @@ -7,7 +7,13 @@ include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/simple-patchsys.mk +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +ifeq (linux,$(DEB_HOST_ARCH_OS)) DEB_MAKE_BUILD_TARGET := CFLAGS="-O2 -fPIC -I../include -DALSA -DJACK" PLATFORM=.alsa FFTWOBJS= LFLAGS="-lpthread -lrfftw -lfftw" lib/libsndobj.a +else +DEB_MAKE_BUILD_TARGET := CFLAGS="-O2 -fPIC -I../include -DJACK" PLATFORM=.oss FFTWOBJS= LFLAGS="-lpthread -lrfftw -lfftw" lib/libsndobj.a +endif DEB_MAKE_INSTALL_TARGET :=

