pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/bmp Fix PLIST on Darwin, where the CD audio inpu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa4f4d2f55ef
branches:  trunk
changeset: 515660:aa4f4d2f55ef
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Jul 06 00:15:14 2006 +0000

description:
Fix PLIST on Darwin, where the CD audio input module is not built.

diffstat:

 audio/bmp/Makefile |  8 +++++++-
 audio/bmp/PLIST    |  4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r d22e2ff3bdf7 -r aa4f4d2f55ef audio/bmp/Makefile
--- a/audio/bmp/Makefile        Wed Jul 05 23:27:34 2006 +0000
+++ b/audio/bmp/Makefile        Thu Jul 06 00:15:14 2006 +0000
@@ -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 @@
 
 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 -r d22e2ff3bdf7 -r aa4f4d2f55ef audio/bmp/PLIST
--- a/audio/bmp/PLIST   Wed Jul 05 23:27:34 2006 +0000
+++ b/audio/bmp/PLIST   Thu Jul 06 00:15:14 2006 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index