aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2007-03-10 04:36:11 +0800
committeroliver <oliver@FreeBSD.org>2007-03-10 04:36:11 +0800
commit1dc14374760f330aec237d355258d7bf3ab8c7aa (patch)
tree086c95f859fd7c79091ed7fd3c5cb98e670b63f5 /multimedia
parentb8f3229fadb50d7b1526818a7f8660c18d4149f6 (diff)
downloadfreebsd-ports-gnome-1dc14374760f330aec237d355258d7bf3ab8c7aa.tar.gz
freebsd-ports-gnome-1dc14374760f330aec237d355258d7bf3ab8c7aa.tar.zst
freebsd-ports-gnome-1dc14374760f330aec237d355258d7bf3ab8c7aa.zip
force the use of the local libflac, even when libflac from ports is installed.
the version in ports is to old. Noted by: Nick Evans <nevans@talkpoint.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/audacious-plugins/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile
index f01f40788cb0..b4e11fe293e0 100644
--- a/multimedia/audacious-plugins/Makefile
+++ b/multimedia/audacious-plugins/Makefile
@@ -132,8 +132,9 @@ PLIST_SUB+= ADPLUGPLUGIN="@comment "
.if !defined(WITHOUT_VORBIS)
LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
-CONFIGURE_ARGS+=--enable-vorbis --enable-flac # it uses an internal flac-lib copy
+CONFIGURE_ARGS+=--enable-vorbis --enable-flac # it uses an internal flac-lib copy
PLIST_SUB+= VORBISPLUGIN=""
+CFLAGS+= -I. -I../libflac -Ilibflac # to not use system flac if it is installed
.else
CONFIGURE_ARGS+=--disable-vorbis --disable-flac
PLIST_SUB+= VORBISPLUGIN="@comment "
@@ -292,11 +293,6 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's|-I\.\./\.\./\.\.$$|& -I\.\./libflac|' \
- ${WRKSRC}/src/flac/plugin_common/Makefile
-
post-install:
.if defined(WITH_GNOME)
@${ECHO_MSG} ""