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

26 lines
595 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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