summaryrefslogtreecommitdiff
path: root/audio/xmms
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2003-04-29 01:21:23 +0000
committersimonb <simonb@pkgsrc.org>2003-04-29 01:21:23 +0000
commitc5c505aca9cea257a5e18a27196f3f0b883ccf53 (patch)
tree515a94dc7bb2ba998f8c08a96d3b796c470937ad /audio/xmms
parent69d5c8e50959199e9517cd11f58c0c3f50fe6e8e (diff)
downloadpkgsrc-c5c505aca9cea257a5e18a27196f3f0b883ccf53.tar.gz
For NetBSD, default the cdda device and directory to
"/dev/rcd0<whatever-raw-part-is>" and "/cdrom". These may not be correct on every single NetBSD installation, but are much better defaults than the Solaris-looking defaults there now.
Diffstat (limited to 'audio/xmms')
-rw-r--r--audio/xmms/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/xmms/Makefile b/audio/xmms/Makefile
index ab5eef54851..dd9f814bb1b 100644
--- a/audio/xmms/Makefile
+++ b/audio/xmms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2003/04/17 23:23:13 salo Exp $
+# $NetBSD: Makefile,v 1.44 2003/04/29 01:21:23 simonb Exp $
#
DISTNAME= xmms-1.2.7
@@ -35,7 +35,10 @@ CONFIGURE_ARGS+= --enable-ipv6
.endif
.if ${OPSYS} == "NetBSD"
-CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND}
+RAWPART!= sysctl -n kern.rawpartition | tr 0-9 a-j
+CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND} \
+ --with-cdda-device=/dev/rcd0${RAWPART} \
+ --with-cdda-dir=/cdrom/
CPPFLAGS+= -DHAVE_NANOSLEEP=1
. if ${MACHINE_ARCH} == "i386"