ports/audio/audacious/plugins/patches/patch-configure

25 lines
595 B
Text

Set AUDACIOUS_{CFLAGS,LIBS} only after the end of all plugin checks.
This fixes some of the autoconf checks as the LIBS variable is being
polluted very early on, breaking most of the checks using AC_CHECK_LIB.
Index: configure
--- configure.orig
+++ configure
@@ -11758,8 +11758,6 @@ printf "%s\n" "yes" >&6; }
fi
-CPPFLAGS="$CPPFLAGS $AUDACIOUS_CFLAGS"
-LIBS="$LIBS $AUDACIOUS_LIBS"
if test $HAVE_DARWIN = yes ; then
@@ -17192,6 +17190,8 @@ then :
fi
+CPPFLAGS="$CPPFLAGS $AUDACIOUS_CFLAGS"
+LIBS="$LIBS $AUDACIOUS_LIBS"
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0