Refine OSVERSION logic to inform the user about the kmod counterparts.

This commit is contained in:
Florent Thoumie 2007-08-26 18:09:51 +00:00
parent 2d8f8c9838
commit df77b38ec1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198336
2 changed files with 5 additions and 3 deletions

View file

@ -8,7 +8,7 @@
PORTNAME?= ipw-firmware PORTNAME?= ipw-firmware
RELNAME?= ipw2100 RELNAME?= ipw2100
PORTVERSION?= 1.3 PORTVERSION?= 1.3
PORTREVISION?= 8 PORTREVISION?= 9
CATEGORIES= net sysutils kld CATEGORIES= net sysutils kld
MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= flz/ipw MASTER_SITE_SUBDIR= flz/ipw
@ -29,6 +29,7 @@ FIRMWARES?= ${RELNAME}-${PORTVERSION}-i.fw:${DRIVERNAME}-i.fw \
# Dummy OSVERSION for ipw. # Dummy OSVERSION for ipw.
MIN7OSVERSION?= 999999 MIN7OSVERSION?= 999999
MAX6OSVERSION?= 700000
# Try to guess sensible defaults. # Try to guess sensible defaults.
.if ${OSVERSION} > ${MIN7OSVERSION} .if ${OSVERSION} > ${MIN7OSVERSION}
@ -75,7 +76,7 @@ IS_INTERACTIVE= yes
IGNORE= needs at least FreeBSD 5.3-RELEASE IGNORE= needs at least FreeBSD 5.3-RELEASE
.endif .endif
.if ( ${OSVERSION} >= 700014 ) .if ( ${OSVERSION} >= 700014 || ( ${OSVERSION} < 700000 && ${OSVERSION} >= ${MAX6OSVERSION} ) )
IGNORE= is now obsolete, install net/${DRIVERNAME}-firmware-kmod instead IGNORE= is now obsolete, install net/${DRIVERNAME}-firmware-kmod instead
.endif .endif

View file

@ -8,7 +8,7 @@
PORTNAME= iwi-firmware PORTNAME= iwi-firmware
RELNAME= ipw2200 RELNAME= ipw2200
PORTVERSION= 2.4 PORTVERSION= 2.4
PORTREVISION= 7 PORTREVISION= 8
CATEGORIES= net sysutils kld CATEGORIES= net sysutils kld
MAINTAINER= flz@FreeBSD.org MAINTAINER= flz@FreeBSD.org
@ -31,5 +31,6 @@ FIRMWARES= ipw-${PORTVERSION}-boot.fw:${DRIVERNAME}-boot.fw \
ipw-${PORTVERSION}-sniffer_ucode.fw:${DRIVERNAME}-ucode-sniffer.fw ipw-${PORTVERSION}-sniffer_ucode.fw:${DRIVERNAME}-ucode-sniffer.fw
MIN7OSVERSION= 700006 MIN7OSVERSION= 700006
MAX6OSVERSION= 602105
.include "${MASTERDIR}/Makefile" .include "${MASTERDIR}/Makefile"