aboutsummaryrefslogtreecommitdiff
path: root/audio/oss
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2007-07-08 12:32:13 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2007-07-08 12:32:13 +0000
commit3d81cbbcf4feab04ea370f41719c2eabf059709d (patch)
treebd4e3e3d6d592a6236d9fad1122fd60f583d6fce /audio/oss
parent5f25098780c5c7b07b561b3602ec2033a7bcbfd1 (diff)
downloadports-3d81cbbcf4feab04ea370f41719c2eabf059709d.tar.gz
ports-3d81cbbcf4feab04ea370f41719c2eabf059709d.zip
Notes
Diffstat (limited to 'audio/oss')
-rw-r--r--audio/oss/Makefile2
-rw-r--r--audio/oss/files/oss.in3
-rw-r--r--audio/oss/files/pkg-message.in2
3 files changed, 5 insertions, 2 deletions
diff --git a/audio/oss/Makefile b/audio/oss/Makefile
index c826f99461c6..b3a4afa686c0 100644
--- a/audio/oss/Makefile
+++ b/audio/oss/Makefile
@@ -7,7 +7,7 @@
PORTNAME= oss
DISTVERSION= 4.0-build1003
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio kld
MASTER_SITES= http://developer.opensound.com/sources/stable/
DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-gpl
diff --git a/audio/oss/files/oss.in b/audio/oss/files/oss.in
index 3454a4667a8d..6fc9724d8895 100644
--- a/audio/oss/files/oss.in
+++ b/audio/oss/files/oss.in
@@ -7,7 +7,8 @@
. %%RC_SUBR%%
name="oss"
-rcvar=${name}_enable
+rcvar=`set_rcvar`
+oss_enable="${oss_enable:-NO}"
stop_cmd="oss_stop"
start_cmd="oss_start"
diff --git a/audio/oss/files/pkg-message.in b/audio/oss/files/pkg-message.in
index 4e74f16c4020..512622a0b914 100644
--- a/audio/oss/files/pkg-message.in
+++ b/audio/oss/files/pkg-message.in
@@ -4,4 +4,6 @@ This port uses installation procedure that is very different from
the one used by 4Front and is not supported by them. All bug reports
should go to the port maintainer via the usual PR mechanism.
+To load OSS at boot, add oss_enable="YES" to your /etc/rc.conf.
+
---------------------------------------------------------------------