openbsd-ports/audio/audacious/plugins/patches/patch-configure
bket eb3c6a1dda Update to audacious-4.2
Release notes can be found at
https://audacious-media-player.org/news/53-audacious-4-2-released.

Bumped minor of libaudqt, which is part of player. Player installs
system-wide icons so add x11/gtk+3,-guic as RDEP (found by portcheck).

OK caspar@
2022-07-12 17:28:04 +00:00

26 lines
595 B
Plaintext

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
@@ -11411,8 +11411,6 @@ printf "%s\n" "yes" >&6; }
fi
-CPPFLAGS="$CPPFLAGS $AUDACIOUS_CFLAGS"
-LIBS="$LIBS $AUDACIOUS_LIBS"
if test $HAVE_DARWIN = yes ; then
@@ -16600,6 +16598,8 @@ then :
fi
+CPPFLAGS="$CPPFLAGS $AUDACIOUS_CFLAGS"
+LIBS="$LIBS $AUDACIOUS_LIBS"
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0