aboutsummaryrefslogtreecommitdiff
path: root/audio/aureal-kmod
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2011-12-06 21:17:04 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2011-12-06 21:17:04 +0000
commitc708a68edf6a06090ecb445a39ce16d00c443d3e (patch)
tree1b7bcaf6aca3bfb1968d2862d8d4872f60cf11a7 /audio/aureal-kmod
parenta0fdf5cdff4513b8672fc381569b52e387fc1fda (diff)
downloadports-c708a68edf6a06090ecb445a39ce16d00c443d3e.tar.gz
ports-c708a68edf6a06090ecb445a39ce16d00c443d3e.zip
Notes
Diffstat (limited to 'audio/aureal-kmod')
-rw-r--r--audio/aureal-kmod/Makefile2
-rw-r--r--audio/aureal-kmod/files/aureal.in4
-rw-r--r--audio/aureal-kmod/files/pkg-message.in5
3 files changed, 3 insertions, 8 deletions
diff --git a/audio/aureal-kmod/Makefile b/audio/aureal-kmod/Makefile
index 4b1ccda2501c..99438e2bf297 100644
--- a/audio/aureal-kmod/Makefile
+++ b/audio/aureal-kmod/Makefile
@@ -38,7 +38,7 @@ MAKE_ARGS= KMODDIR="${KMODDIR}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800000
-BROKEN= doesn't build on RELENG_8
+EXTRA_PATCHES+= ${PATCHDIR}/extra_800000_patch-au88x0.c
.endif
# Make sure kernel sources are present before going any further
diff --git a/audio/aureal-kmod/files/aureal.in b/audio/aureal-kmod/files/aureal.in
index d826a6a50f4c..58b543ecb617 100644
--- a/audio/aureal-kmod/files/aureal.in
+++ b/audio/aureal-kmod/files/aureal.in
@@ -61,7 +61,7 @@ aureal_start()
if [ ! -f ${KMODDIR}/${DRIVERFILE}.ko ]; then
err 64 "${KMODDIR}/${DRIVERFILE} for ${aureal_card} not found!"
fi
- if ! kldstat -qm ${DRIVERFILE}; then
+ if ! kldstat -qm pci/snd_au88x0; then
if ! kldload ${KMODDIR}/${DRIVERFILE}.ko; then
warn 'aureal module failed to load'
return 1
@@ -87,7 +87,7 @@ aureal_start()
aureal_stop()
{
aureal_detect
- kldstat -qm ${DRIVERFILE} && kldunload ${DRIVERFILE}
+ kldstat -qm pci/snd_au88x0 && kldunload ${DRIVERFILE}
return 0
}
diff --git a/audio/aureal-kmod/files/pkg-message.in b/audio/aureal-kmod/files/pkg-message.in
index 1de583090000..b9bab54cd63d 100644
--- a/audio/aureal-kmod/files/pkg-message.in
+++ b/audio/aureal-kmod/files/pkg-message.in
@@ -29,9 +29,4 @@ in your /etc/rc.conf.
Please note that you also need to have the 'sound.ko' moduld loaded already.
-Report problems to Alexander Matey <ports@matey.org>.
-
-Thanks and enjoy!
-
--Maxim
-------------------------------------------------------------------------------