aboutsummaryrefslogtreecommitdiff
path: root/audio/aureal-kmod
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-05-20 04:45:10 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-05-20 04:45:10 +0000
commiteb90479d109bfd7c7a904f7b2e7db6f004d8caf8 (patch)
treedc4ac0a8b9eeb72d7e01aa066a7a32a82180d307 /audio/aureal-kmod
parent27b4b8ceb3378a157e99be4ae0132d88dfae02c3 (diff)
downloadports-eb90479d109bfd7c7a904f7b2e7db6f004d8caf8.tar.gz
ports-eb90479d109bfd7c7a904f7b2e7db6f004d8caf8.zip
Notes
Diffstat (limited to 'audio/aureal-kmod')
-rw-r--r--audio/aureal-kmod/Makefile16
-rw-r--r--audio/aureal-kmod/pkg-message2
2 files changed, 8 insertions, 10 deletions
diff --git a/audio/aureal-kmod/Makefile b/audio/aureal-kmod/Makefile
index 95f250213338..71fbb701d7e8 100644
--- a/audio/aureal-kmod/Makefile
+++ b/audio/aureal-kmod/Makefile
@@ -12,7 +12,7 @@ CATEGORIES= audio
MASTER_SITES= http://home.columbus.rr.com/amatey/au88x0/
DISTNAME= au88x0-${PORTVERSION}_${PORTREVISION}
-MAINTAINER= lx@matey.org
+MAINTAINER= ports@matey.org
COMMENT= A FreeBSD Driver for Aureal Vortex based soundcards
NO_PACKAGE= Should be in sync with the kernel to work correctly
@@ -68,7 +68,7 @@ PORTREVISION= 3
MAKE_ENV+= HAVE_KOBJ_PCM=1
.elif ${OSVERSION} < 500000
-# FreeBSD 4.5+
+# FreeBSD 4.5+, 4.6, 4.7, 4.8-
.if ${VERSION_SOUND_C_STABLE} < 12
BROKEN= "Base system is outdated. This port needs -STABLE after 2002-04-22."
.endif
@@ -84,6 +84,11 @@ BROKEN= "Base system is outdated. This port needs -CURRENT after 2002-04-04."
.endif
.endif
+# Make sure kernel sources are present before going any further
+.if ! exists(${SRCPREFIX}/sys/dev/sound/pcm/sound.c)
+BROKEN= "You need to extract kernel source tree before building this package"
+.endif
+
pre-fetch:
.for STRAY in ${STRAYFILES}
.if exists(${SRCPREFIX}/sys/dev/sound/pci/${STRAY})
@@ -100,13 +105,6 @@ pre-fetch:
@${FALSE}
.endif
.endfor
- @if [ ! -d /sys -a ! -d ${SRCPREFIX}/sys ]; then \
- ${ECHO} "****************************************" ; \
- ${ECHO} " You need to extract kernel source tree" ; \
- ${ECHO} " before you build this package..." ; \
- ${ECHO} "****************************************" ; \
- ${FALSE} ; \
- fi
pre-install:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \
diff --git a/audio/aureal-kmod/pkg-message b/audio/aureal-kmod/pkg-message
index a344aa4cad81..3313cdf82523 100644
--- a/audio/aureal-kmod/pkg-message
+++ b/audio/aureal-kmod/pkg-message
@@ -30,7 +30,7 @@ install snd_pcm by doing:
# cd /sys/modules/sound/pcm/ && make all install
-Report problems to Alexander Matey <lx@matey.org>.
+Report problems to Alexander Matey <ports@matey.org>.
Thanks and enjoy!