aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-01-08 18:12:45 +0800
committerlofi <lofi@FreeBSD.org>2007-01-08 18:12:45 +0800
commit6317cc5c8572c8e8ef28bdc83b3f3137f5c4f583 (patch)
tree15d5f4286252bd97de58991fe0f15251c9ff0d10
parentc6bd44bc502b5bee89aa36c2325afdb2a67f7d86 (diff)
downloadfreebsd-ports-gnome-6317cc5c8572c8e8ef28bdc83b3f3137f5c4f583.tar.gz
freebsd-ports-gnome-6317cc5c8572c8e8ef28bdc83b3f3137f5c4f583.tar.zst
freebsd-ports-gnome-6317cc5c8572c8e8ef28bdc83b3f3137f5c4f583.zip
Make the AKODE option actually work for the 'off' case.
Submitted by: Marcel Stritzelberger (marcel@stritzelberger.de)
-rw-r--r--multimedia/kdemultimedia3/Makefile4
-rw-r--r--multimedia/kdemultimedia4/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/multimedia/kdemultimedia3/Makefile b/multimedia/kdemultimedia3/Makefile
index 86d55342209f..742409c47c7c 100644
--- a/multimedia/kdemultimedia3/Makefile
+++ b/multimedia/kdemultimedia3/Makefile
@@ -19,7 +19,6 @@ COMMENT= Multimedia utilities for the KDE integrated X11 desktop
CONFLICTS= juk-1*
LIB_DEPENDS+= audiofile:${PORTSDIR}/audio/libaudiofile \
- akode:${PORTSDIR}/audio/akode \
FLAC:${PORTSDIR}/audio/flac \
cdda_paranoia:${PORTSDIR}/audio/cdparanoia \
ogg:${PORTSDIR}/audio/libogg \
@@ -56,7 +55,10 @@ PLIST_SUB+= THEORA=""
#.endif
.if !defined(WITHOUT_AKODE)
+LIB_DEPENDS+= akode:${PORTSDIR}/audio/akode
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode.so:${PORTSDIR}/audio/akode
+.else
+DO_NOT_COMPILE+=akode_artsplugin
.endif
.if defined(WITH_XINE)
diff --git a/multimedia/kdemultimedia4/Makefile b/multimedia/kdemultimedia4/Makefile
index 86d55342209f..742409c47c7c 100644
--- a/multimedia/kdemultimedia4/Makefile
+++ b/multimedia/kdemultimedia4/Makefile
@@ -19,7 +19,6 @@ COMMENT= Multimedia utilities for the KDE integrated X11 desktop
CONFLICTS= juk-1*
LIB_DEPENDS+= audiofile:${PORTSDIR}/audio/libaudiofile \
- akode:${PORTSDIR}/audio/akode \
FLAC:${PORTSDIR}/audio/flac \
cdda_paranoia:${PORTSDIR}/audio/cdparanoia \
ogg:${PORTSDIR}/audio/libogg \
@@ -56,7 +55,10 @@ PLIST_SUB+= THEORA=""
#.endif
.if !defined(WITHOUT_AKODE)
+LIB_DEPENDS+= akode:${PORTSDIR}/audio/akode
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode.so:${PORTSDIR}/audio/akode
+.else
+DO_NOT_COMPILE+=akode_artsplugin
.endif
.if defined(WITH_XINE)