Bug#401521: soundmodem: FTBFS on GNU/kFreeBSD (due to unsatisfied Build-Depends on libasound2-dev)
Package: soundmodem
Severity: important
Version: 0.10-1.1
Tags: patch
Hi,
the current version of soundmodem has unsatisfied Build-Depends on
libasound2-dev under non-linux ports.
Please, could you exclude linux specific package in Build-Depends
by using "libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]".
Moreover small tweak to configure.in/configure is needed.
Please apply patch bellow and regenerate configure.
It would also be nice if you can ask upstream
to include configure.in change.
Thanks for your cooperation.
Petr
--- soundmodem-0.10.orig/configure.in
+++ soundmodem-0.10/configure.in
@@ -87,9 +87,11 @@
AC_MSG_RESULT($mlog10e)
dnl check for ALSA
-if test x$CYGWIN != xyes -a x$MINGW32 != xyes; then
-AM_PATH_ALSA(1.0.0, AC_DEFINE(HAVE_ALSA,1,[Define if ALSA is available]))
-fi
+case $target_os in
+ linux*)
+ AM_PATH_ALSA(1.0.0, AC_DEFINE(HAVE_ALSA,1,[Define if ALSA is available]))
+ ;;
+esac
AC_SUBST(HAVE_ALSA)
dnl Add the languages which your application supports here.
Reply to: