summaryrefslogtreecommitdiff
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
commit42f1e468bc3b67a7075ab99fc4ae6265ac7c78e7 (patch)
tree1efacca28b88998e2492015c994e0326d3a80e09
parent36be257d2e48f1063d4b9247a86704749236d4c6 (diff)
downloadpkgsrc-42f1e468bc3b67a7075ab99fc4ae6265ac7c78e7.tar.gz
Fix PLIST on Darwin, where the CD audio input module is not built.
-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