diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2007-10-10 18:07:11 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2007-10-10 18:07:11 +0000 |
commit | f986165b5b77ed27fc58b55e2da744b745504cf2 (patch) | |
tree | e432f1e2571fff93d15ff2ee5b9cabf1184f731d /audio/oss | |
parent | Trivial sort order fix in Makefile (diff) |
Move userdefs creation from install.sh to post-install.
Reported by: Christophe Cap (christophe dot cap at gmail dot com)
Approved by: glewis (mentor)
Notes
Notes:
svn path=/head/; revision=201277
Diffstat (limited to 'audio/oss')
-rw-r--r-- | audio/oss/files/patch-setup-FreeBSD-oss-build-install.sh | 16 | ||||
-rw-r--r-- | audio/oss/files/pkg-install.in | 3 |
2 files changed, 13 insertions, 6 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 index cfb583859afd..8209cd82e239 100644 --- a/audio/oss/files/patch-setup-FreeBSD-oss-build-install.sh +++ b/audio/oss/files/patch-setup-FreeBSD-oss-build-install.sh @@ -1,5 +1,5 @@ ---- 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 +--- setup/FreeBSD/oss/build/install.sh.orig 2007-07-18 19:21:12.000000000 -0400 ++++ setup/FreeBSD/oss/build/install.sh 2007-10-09 19:51:09.000000000 -0400 @@ -1,11 +1,6 @@ #!/bin/sh @@ -13,11 +13,10 @@ rm -f osscore_mainline.o ln -s osscore.lib osscore_mainline.o -@@ -58,13 +53,5 @@ - make clean > /dev/null 2>&1 +@@ -59,17 +54,4 @@ rm -f Makefile done -- + -if ! test -f $OSSLIBDIR/etc/installed_drivers -then - echo "-----------------------------" @@ -25,5 +24,10 @@ - echo "-----------------------------" - echo "" -fi - +- +-if test ! -f $OSSLIBDIR/etc/userdefs +-then +- echo "autosave_mixer yes" > $OSSLIBDIR/etc/userdefs +-fi +- exit 0 diff --git a/audio/oss/files/pkg-install.in b/audio/oss/files/pkg-install.in index 0da7a60ba40f..c816e101c77e 100644 --- a/audio/oss/files/pkg-install.in +++ b/audio/oss/files/pkg-install.in @@ -5,4 +5,7 @@ POST-INSTALL) if ! test -f ${PKG_PREFIX}/lib/oss/etc/installed_drivers; then ${PKG_PREFIX}/sbin/ossdetect -v fi + if ! test -f ${PKG_PREFIX}/lib/oss/etc/userdefs; then + echo "autosave_mixer yes" > ${PKG_PREFIX}/lib/oss/etc/userdefs + fi esac |