ports/audio/oss/files/patch-setup-FreeBSD-sbin-soundoff
Edward Tomasz Napierala 0a2993d06e - Add Open Sound System drivers, version 4.0 build 1003.
Approved by:	miwi (mentor)
2007-06-23 20:58:05 +00:00

16 lines
381 B
Text

--- setup/FreeBSD/sbin/soundoff.orig Fri Jun 22 15:30:11 2007
+++ setup/FreeBSD/sbin/soundoff Fri Jun 22 15:30:38 2007
@@ -1,10 +1,10 @@
#!/bin/sh
-if test -f /etc/oss.conf
+if test -f %%PREFIX%%/etc/oss.conf
then
- . /etc/oss.conf
+ . %%PREFIX%%/etc/oss.conf
else
- OSSLIBDIR=/usr/lib/oss
+ OSSLIBDIR=%%PREFIX%%/usr/lib/oss
fi
if ! /sbin/kldstat | grep -q osscore.ko