summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-07-08 01:22:41 +0000
committerminskim <minskim@pkgsrc.org>2006-07-08 01:22:41 +0000
commitc653d966cbed0e674a406ffd504c32ceb66c8de9 (patch)
tree1efacca28b88998e2492015c994e0326d3a80e09 /audio
parent81fa7bb23b72e4953964d41754a65a5da2526934 (diff)
downloadpkgsrc-c653d966cbed0e674a406ffd504c32ceb66c8de9.tar.gz
Fix PLIST on Darwin, where the CD audio input module is not built.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms/Makefile8
-rw-r--r--audio/xmms/PLIST.common4
2 files changed, 9 insertions, 3 deletions
diff --git a/audio/xmms/Makefile b/audio/xmms/Makefile
index 27d56b892a9..62111dd5ae7 100644
--- a/audio/xmms/Makefile
+++ b/audio/xmms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2006/02/05 23:08:17 joerg Exp $
+# $NetBSD: Makefile,v 1.61 2006/07/08 01:22:41 minskim Exp $
#
PKGREVISION= 6
@@ -7,4 +7,10 @@ PKGREVISION= 6
CONFIGURE_ARGS+= --disable-esd
+.if ${OPSYS} == "Darwin"
+PLIST_SUBST+= CDAUDIO="@comment "
+.else
+PLIST_SUBST+= CDAUDIO=""
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/xmms/PLIST.common b/audio/xmms/PLIST.common
index 6a36a228fe1..a52d9bf98f6 100644
--- a/audio/xmms/PLIST.common
+++ b/audio/xmms/PLIST.common
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.6 2006/07/08 01:11:21 minskim Exp $
+@comment $NetBSD: PLIST.common,v 1.7 2006/07/08 01:22:41 minskim Exp $
bin/wmxmms
bin/xmms
bin/xmms-config
@@ -16,7 +16,7 @@ lib/xmms/Effect/libstereo.la
lib/xmms/Effect/libvoice.la
lib/xmms/General/libir.la
lib/xmms/General/libsong_change.la
-lib/xmms/Input/libcdaudio.la
+${CDAUDIO}lib/xmms/Input/libcdaudio.la
lib/xmms/Input/libmikmod.la
lib/xmms/Input/libmpg123.la
lib/xmms/Input/libtonegen.la