summaryrefslogtreecommitdiff
path: root/audio/bmp
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-07-06 00:15:14 +0000
committerminskim <minskim@pkgsrc.org>2006-07-06 00:15:14 +0000
commit7145580d624c14ede4e8c16c0dd8a09691d443af (patch)
tree24af1b869285161c058809cf010d0653cd611a6f /audio/bmp
parenta820e0b7bb02c06fbe8c66fe8534cef03e2a6945 (diff)
downloadpkgsrc-7145580d624c14ede4e8c16c0dd8a09691d443af.tar.gz
Fix PLIST on Darwin, where the CD audio input module is not built.
Diffstat (limited to 'audio/bmp')
-rw-r--r--audio/bmp/Makefile8
-rw-r--r--audio/bmp/PLIST4
2 files changed, 9 insertions, 3 deletions
diff --git a/audio/bmp/Makefile b/audio/bmp/Makefile
index 421db5d5737..e883b8fa8eb 100644
--- a/audio/bmp/Makefile
+++ b/audio/bmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/04/17 14:52:10 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2006/07/06 00:15:14 minskim Exp $
#
BMP_ENABLE_ENCODERS= yes
@@ -9,6 +9,12 @@ PKGREVISION= 5
DEPENDS+= unzip-[0-9]*:../../archivers/unzip
+.if ${OPSYS} == "Darwin"
+PLIST_SUBST+= CDAUDIO="@comment "
+.else
+PLIST_SUBST+= CDAUDIO=""
+.endif
+
# XXX Workaround a crash during shutdown that happens when dlclose(3)ing
# any open plugin. libstdc++ gets dynamically linked in when the id3lib
# library is loaded, and is the one causing problems. See PR pkg/26846
diff --git a/audio/bmp/PLIST b/audio/bmp/PLIST
index b57a2b401b7..6d9adacc886 100644
--- a/audio/bmp/PLIST
+++ b/audio/bmp/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2006/04/17 07:07:11 jlam Exp $
+@comment $NetBSD: PLIST,v 1.6 2006/07/06 00:15:14 minskim Exp $
bin/beep-media-player
include/bmp/beepctrl.h
include/bmp/configdb.h
@@ -11,7 +11,7 @@ include/bmp/rcfile.h
include/bmp/titlestring.h
include/bmp/util.h
include/bmp/vfs.h
-lib/bmp/Input/libcdaudio.la
+${CDAUDIO}lib/bmp/Input/libcdaudio.la
lib/bmp/Input/libmpg123.la
lib/bmp/Input/libvorbis.la
lib/bmp/Input/libwav.la