summaryrefslogtreecommitdiff
path: root/audio/oss
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-03 08:09:04 +0000
committerjlam <jlam>2002-10-03 08:09:04 +0000
commit7769cb6f18dc30db459729449a05a21241dda9d1 (patch)
tree84d9cd4541ba92374ee4761027725143ad0a2bf6 /audio/oss
parent1064d86db80ec01ad2d714acd78fe51807b1dd28 (diff)
downloadpkgsrc-7769cb6f18dc30db459729449a05a21241dda9d1.tar.gz
Point /dev/sound to /dev/dsp when using OSS.
Diffstat (limited to 'audio/oss')
-rw-r--r--audio/oss/DEINSTALL4
-rw-r--r--audio/oss/files/MAKEDEV.oss6
2 files changed, 7 insertions, 3 deletions
diff --git a/audio/oss/DEINSTALL b/audio/oss/DEINSTALL
index e24896203d9..e222d5f3e4c 100644
--- a/audio/oss/DEINSTALL
+++ b/audio/oss/DEINSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: DEINSTALL,v 1.2 2002/10/02 21:06:53 jlam Exp $
+# $NetBSD: DEINSTALL,v 1.3 2002/10/03 08:09:04 jlam Exp $
OSSLIBDIR="@OSSLIBDIR@"
SFILES="@SFILES@"
@@ -35,7 +35,7 @@ POST-DEINSTALL)
#
# Remove the OSS devices.
#
- ${RM} -f /dev/dsp* /dev/audio* /dev/mixer* /dev/midi*
+ ${RM} -f /dev/dsp* /dev/sound /dev/audio* /dev/mixer* /dev/midi*
${RM} -f /dev/sequencer /dev/music /dev/sndstat
${CAT} << EOF
diff --git a/audio/oss/files/MAKEDEV.oss b/audio/oss/files/MAKEDEV.oss
index ad2e29b8fa2..04d44ef7197 100644
--- a/audio/oss/files/MAKEDEV.oss
+++ b/audio/oss/files/MAKEDEV.oss
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV.oss,v 1.1.1.1 2002/10/02 20:33:31 jlam Exp $
+# $NetBSD: MAKEDEV.oss,v 1.2 2002/10/03 08:09:05 jlam Exp $
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
@@ -37,8 +37,12 @@ dsp)
makedev dsp10 dsp11 dsp12 dsp13 dsp14 dsp15
makedev dspW0 dspW1 dspW2 dspW3 dspW4 dspW5 dspW6 dspW7 dspW8 dspW9
makedev dspW10 dspW11 dspW12 dspW13 dspW14 dspW15
+ rm -f dsp
ln -fs dsp0 dsp
+ rm -f dspW
ln -fs dspW0 dspW
+ rm -f sound
+ ln -fs dsp sound
;;
midi)