Bug#566779: snd: FTBFS on GNU/kFreeBSD: missing -ldl
Petr Salinger
Petr.Salinger at seznam.cz
Mon Jan 25 18:13:22 UTC 2010
Hi.
The native sound system is OSS for GNU/kFreeBSD.
It looks like on linux the snd package comes in three variants:
- snd-gtk-jack
- snd-gtk-pulse
- snd-nox-alsa
IMO, it should be possible to extend configure.ac and
on GNU/kFreeBSD (kfreebsd-i386 kfreebsd-amd64) also provide three variants
- snd-gtk-jack
- snd-gtk-pulse
- snd-nox-oss
Petr
*-*-kfreebsd*)
LDSO_FLAGS="-shared"
LIBS="$LIBS -lm"
if test "$ac_cv_header_dlfcn_h" = yes ; then
LDFLAGS="$LDFLAGS -ldl"
fi
if test "$GCC" = yes ; then
SO_FLAGS="-fPIC $SO_FLAGS"
fi
AUDIO_SYSTEM=OSS
if test "$with_jack" = yes ; then
if test "$with_oss" != yes ; then
AUDIO_SYSTEM=JACK
fi
fi
case $AUDIO_SYSTEM in
JACK)
AC_DEFINE(HAVE_JACK_IN_LINUX)
AC_DEFINE(HAVE_OSS)
AUDIO_LIB="-lsamplerate"
;;
OSS)
AC_DEFINE(HAVE_OSS)
AUDIO_SYSTEM=OSS
;;
esac
;;
More information about the pkg-multimedia-maintainers
mailing list