diff options
Diffstat (limited to 'audio/oss/files/patch-setup_FreeBSD_oss_build_install.sh')
-rw-r--r-- | audio/oss/files/patch-setup_FreeBSD_oss_build_install.sh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/audio/oss/files/patch-setup_FreeBSD_oss_build_install.sh b/audio/oss/files/patch-setup_FreeBSD_oss_build_install.sh new file mode 100644 index 000000000000..d7b478f3eb46 --- /dev/null +++ b/audio/oss/files/patch-setup_FreeBSD_oss_build_install.sh @@ -0,0 +1,33 @@ +--- 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 |