summaryrefslogtreecommitdiff
path: root/audio/xmms
diff options
context:
space:
mode:
authorminskim <minskim>2006-07-08 01:22:41 +0000
committerminskim <minskim>2006-07-08 01:22:41 +0000
commit366db8917a3ac9bfe974a31a0e7b6496e08b1dbb (patch)
tree1efacca28b88998e2492015c994e0326d3a80e09 /audio/xmms
parenta3a3c0788915118e15139bb7c1aac4d2505fed04 (diff)
downloadpkgsrc-366db8917a3ac9bfe974a31a0e7b6496e08b1dbb.tar.gz
Fix PLIST on Darwin, where the CD audio input module is not built.
Diffstat (limited to 'audio/xmms')
-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