Package: brutefir
Severity: important
Tags: patch

Hi,

currently, your package isn't even tried, but with the attached patch,
your package builds fine on GNU/kFreeBSD. I'm unsure about the status of
the sound on GNU/Hurd (there were some porting efforts at least), but it
has at least a chance to be tried once the B-D on libasound2-dev limited
to Linux architectures, and alsa disabled in the Makefile.

Cheers,

-- 
Cyril Brulebois
--- brutefir-1.0f/Makefile      2007-03-10 19:27:01.502401000 +0100
+++ brutefir-1.0f/Makefile      2007-03-10 19:30:10.000000000 +0100
@@ -63,7 +63,7 @@
 UNAME_M         = $(shell uname -m)
 
 # Linux
-ifeq ($(UNAME),Linux)
+ifneq (,findstring($(UNAME),Linux GNU/kFreeBSD GNU))
 ifeq ($(UNAME_M),i386)
 BRUTEFIR_OBJS  += $(BRUTEFIR_IA32_OBJS)
 endif
@@ -75,8 +75,10 @@
 endif
 BRUTEFIR_LIBS  += -ldl
 LDMULTIPLEDEFS = -Xlinker --allow-multiple-definition
-# assume that we have alsa, osss and jack
+# assume that we have oss and jack, alsa being linux-only
+ifeq ($(UNAME),Linux)
 LIB_TARGETS    += alsa.bfio
+endif
 LIB_TARGETS    += oss.bfio
 LIB_TARGETS    += jack.bfio
 endif
--- brutefir-1.0f/debian/control        2007-03-10 19:31:01.528898000 +0100
+++ brutefir-1.0f/debian/control        2007-03-10 19:37:22.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Free Ekanayaka <[EMAIL PROTECTED]>
 Uploaders: Guenter Geiger (Debian/GNU) <[EMAIL PROTECTED]>
-Build-Depends: docbook-to-man, debhelper (>> 4.0.0), fftw3-dev, libjack-dev, 
flex, libasound2-dev, dpatch
+Build-Depends: docbook-to-man, debhelper (>> 4.0.0), fftw3-dev, libjack-dev, 
flex, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], dpatch
 Standards-Version: 3.6.2
 
 Package: brutefir

Reply via email to