Files
ports/audio/adplay/files/patch-acinclude.m4
T
Emanuel Haupt 2bd29336d2 - Move from SF to GitHub
- Update WWW
- Define LICENSE_FILE
- Add ALSA option
- Use autoreconf and
- remove a lot of old cruft that's not needed anymore with the use of
  autoreconf
- Bump PORTREVISION just to be safe (autoreconf)
2017-04-19 08:19:58 +00:00

21 lines
658 B
Plaintext

--- acinclude.m4.orig 2010-01-01 08:21:00 UTC
+++ acinclude.m4
@@ -422,7 +422,7 @@ if test "$alsa_prefix" != "" ; then
fi
dnl add the alsa library
-ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
+ALSA_LIBS="$ALSA_LIBS -lasound -lm -lpthread"
LIBS="$ALSA_LIBS $LIBS"
AC_MSG_RESULT($ALSA_LIBS)
@@ -541,7 +541,7 @@ AC_ARG_ENABLE(aotest, [ --disable-aotes
# see where dl* and friends live
AC_CHECK_FUNCS(dlopen, [AO_DL_LIBS=""], [
- AC_CHECK_LIB(dl, dlopen, [AO_DL_LIBS="-ldl"], [
+ AC_CHECK_LIB(dl, dlopen, [
AC_MSG_WARN([could not find dlopen() needed by libao sound drivers
your system may not be supported.])
])