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

Bug#736959: FTBFS[!linux]: ALSA MIDI not supported



Package: samplv1
Version: 0.3.6-2
Severity: serious
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

Hi,

debian/rules runs configure with --enable-alsa-midi only on Linux.

Actually on kfreebsd-* and hurd it is necessary to do the opposite:
configure with --disable-alsa-midi, otherwise support for it is
wrongly autodetected due to the presence of salsa headers.

Please see attached patch fixing FTBFS.

Thanks!

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64-xenhvm
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- a/drumkv1-0.3.6/debian/rules	2013-09-10 15:46:03.000000000 +0100
+++ b/drumkv1-0.3.6/debian/rules	2014-01-28 19:06:56.433091722 +0000
@@ -15,6 +15,8 @@
 
 ifeq ($(DEB_HOST_ARCH_OS),linux)
 EXTRA_CONFIGURE_ARGS += --enable-alsa-midi
+else
+EXTRA_CONFIGURE_ARGS += --disable-alsa-midi
 endif
 
 ifeq ($(DEB_HOST_ARCH_CPU),amd64)

Reply to: