mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
9fa9eb9ac7
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
31 lines
755 B
Plaintext
31 lines
755 B
Plaintext
--- setup/FreeBSD/sbin/soundoff.orig 2014-02-14 22:59:55 UTC
|
|
+++ setup/FreeBSD/sbin/soundoff
|
|
@@ -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%%/lib/oss
|
|
fi
|
|
|
|
if ! /sbin/kldstat | grep -q osscore.ko
|
|
@@ -22,11 +22,11 @@ fi
|
|
# Save mixer settings automatically if requested
|
|
if test -f $OSSLIBDIR/etc/userdefs && grep -q "autosave_mixer yes" $OSSLIBDIR/etc/userdefs
|
|
then
|
|
- /usr/sbin/savemixer
|
|
+ %%PREFIX%%/sbin/savemixer
|
|
fi
|
|
|
|
# Save legacy devices
|
|
-/usr/sbin/ossdevlinks -N
|
|
+%%PREFIX%%/sbin/ossdevlinks -N
|
|
|
|
PROGRAMS="`fstat /dev/mixer* /dev/dsp* /dev/midi* /dev/oss/*/* 2>/dev/null | sed '1 D'`"
|
|
|