diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-05-20 12:45:10 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-05-20 12:45:10 +0800 |
commit | 31df57ea831bc654398af08461591423a09a7ebb (patch) | |
tree | 34b38b02610a67980706a0cafbc5ed0a37551380 | |
parent | d7016a50978b41b804b24e16d84359d9524b1dd0 (diff) | |
download | freebsd-ports-gnome-31df57ea831bc654398af08461591423a09a7ebb.tar.gz freebsd-ports-gnome-31df57ea831bc654398af08461591423a09a7ebb.tar.zst freebsd-ports-gnome-31df57ea831bc654398af08461591423a09a7ebb.zip |
- Better FreeBSD version detection;
- update maintainer's e-mail.
Submitted by: maintainer
-rw-r--r-- | audio/aureal-kmod/Makefile | 16 | ||||
-rw-r--r-- | audio/aureal-kmod/pkg-message | 2 |
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! |