aboutsummaryrefslogtreecommitdiff
path: root/audio/oss/files/patch-setup-FreeBSD-oss-build-install.sh
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2007-06-23 20:58:05 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2007-06-23 20:58:05 +0000
commit0a2993d06e14d9003c531991783adbc45e521c93 (patch)
tree6f997ce0b3349d18a2ed169c4dce65cd76d78ea8 /audio/oss/files/patch-setup-FreeBSD-oss-build-install.sh
parent1231cc2edbd6be83b27f4d821751b8e82b81de2e (diff)
downloadports-0a2993d06e14d9003c531991783adbc45e521c93.tar.gz
ports-0a2993d06e14d9003c531991783adbc45e521c93.zip
- Add Open Sound System drivers, version 4.0 build 1003.
Approved by: miwi (mentor)
Notes
Notes: svn path=/head/; revision=194139
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.sh29
1 files changed, 29 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..cfb583859afd
--- /dev/null
+++ b/audio/oss/files/patch-setup-FreeBSD-oss-build-install.sh
@@ -0,0 +1,29 @@
+--- setup/FreeBSD/oss/build/install.sh.orig Thu Jan 11 23:48:14 2007
++++ setup/FreeBSD/oss/build/install.sh Fri Jun 22 15:15:32 2007
+@@ -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
+@@ -58,13 +53,5 @@
+ make clean > /dev/null 2>&1
+ rm -f Makefile
+ done
+-
+-if ! test -f $OSSLIBDIR/etc/installed_drivers
+-then
+- echo "-----------------------------"
+- /usr/sbin/ossdetect -v
+- echo "-----------------------------"
+- echo ""
+-fi
+
+ exit 0