ports/audio/oss/files/patch-setup_FreeBSD_oss_build_install.sh
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

33 lines
659 B
Bash

--- setup/FreeBSD/oss/build/install.sh.orig 2014-02-14 22:59:55 UTC
+++ setup/FreeBSD/oss/build/install.sh
@@ -1,11 +1,6 @@
#!/bin/sh
-if test -f /etc/oss.conf
-then
- . /etc/oss.conf
-else
- OSSLIBDIR=/usr/lib/oss
-fi
+OSSLIBDIR=${PREFIX}/lib/oss
rm -f osscore_mainline.o
ln -s osscore.lib osscore_mainline.o
@@ -59,17 +54,4 @@ do
rm -f Makefile
done
-if ! test -f $OSSLIBDIR/etc/installed_drivers
-then
- echo "-----------------------------"
- /usr/sbin/ossdetect -v
- echo "-----------------------------"
- echo ""
-fi
-
-if test ! -f $OSSLIBDIR/etc/userdefs
-then
- echo "autosave_mixer yes" > $OSSLIBDIR/etc/userdefs
-fi
-
exit 0