aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
+
---------------------------------------------------------------------