1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/audio/aqualung/files/patch-configure
Alexey Dokuchaev 7d09012aa2 - Update to latest github snapshot (tagged 0.5.0; fetch distfile from Gentoo)
and switch to textproc/raptor2 (required for upcoming audio/ardour update)
- Do some small Makefile cleanups and touch port description while I am here
- Teach configure script of audio/aqualung to use `pkg-config --cflags lrdf`,
  so it can always find correct headers

Submitted by:	nox@ (a while ago)
2012-08-20 08:47:18 +00:00

20 lines
1.1 KiB
Plaintext

--- configure.orig 2010-02-01 00:30:18.000000000 +0800
+++ configure 2012-08-19 21:26:55.000000000 +0800
@@ -10920,6 +10920,7 @@
{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
lrdf_LIBS=`pkg-config --libs lrdf`
+ lrdf_CFLAGS=`pkg-config --cflags lrdf`
cat >>confdefs.h <<\_ACEOF
#define HAVE_LADSPA 1
@@ -11801,7 +11802,7 @@
CFLAGS="$CFLAGS $BUILD_CFLAGS -Wall $PLATFORM_CFLAGS $AQUALUNG_SKINDIR $AQUALUNG_LOCALEDIR $AQUALUNG_DATADIR -D_GNU_SOURCE"
CXXFLAGS="$CFLAGS"
-CPPFLAGS="$gtk_CFLAGS $glib_CFLAGS $xml_CFLAGS $alsa_CFLAGS $jack_CFLAGS $cdda_CFLAGS $pulse_CFLAGS"
+CPPFLAGS="$gtk_CFLAGS $glib_CFLAGS $xml_CFLAGS $alsa_CFLAGS $jack_CFLAGS $cdda_CFLAGS $pulse_CFLAGS $lrdf_CFLAGS"
LIBS="decoder/libdecoder.a encoder/libencoder.a $gtk_LIBS $glib_LIBS $xml_LIBS $jack_LIBS $lrdf_LIBS $src_LIBS $alsa_LIBS $sndio_LIBS $oss_LIBS $sndfile_LIBS $flac_LIBS $ogg_LIBS $wavpack_LIBS $speex_LIBS $mad_LIBS $mod_LIBS $mpc_LIBS $mac_LIBS $lavc_LIBS $vorbisenc_LIBS $lame_LIBS $cdda_LIBS $cddb_LIBS $ifp_LIBS $PLATFORM_LIBS $z_LIBS $bz2_LIBS $lua_LIBS $pulse_LIBS"