diff options
author | simonb <simonb> | 2003-04-29 01:21:23 +0000 |
---|---|---|
committer | simonb <simonb> | 2003-04-29 01:21:23 +0000 |
commit | fa4e6526254930187453a116e6bd4ba79818ed27 (patch) | |
tree | 515a94dc7bb2ba998f8c08a96d3b796c470937ad /audio | |
parent | 5590a918e0ad991aa4874271cdd008349c2ef89e (diff) | |
download | pkgsrc-fa4e6526254930187453a116e6bd4ba79818ed27.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')
-rw-r--r-- | audio/xmms/Makefile | 7 |
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" |