mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Refine OSVERSION logic to inform the user about the kmod counterparts.
This commit is contained in:
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
|
@ -8,7 +8,7 @@
|
|||
PORTNAME?= ipw-firmware
|
||||
RELNAME?= ipw2100
|
||||
PORTVERSION?= 1.3
|
||||
PORTREVISION?= 8
|
||||
PORTREVISION?= 9
|
||||
CATEGORIES= net sysutils kld
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= flz/ipw
|
||||
|
@ -29,6 +29,7 @@ FIRMWARES?= ${RELNAME}-${PORTVERSION}-i.fw:${DRIVERNAME}-i.fw \
|
|||
|
||||
# Dummy OSVERSION for ipw.
|
||||
MIN7OSVERSION?= 999999
|
||||
MAX6OSVERSION?= 700000
|
||||
|
||||
# Try to guess sensible defaults.
|
||||
.if ${OSVERSION} > ${MIN7OSVERSION}
|
||||
|
@ -75,7 +76,7 @@ IS_INTERACTIVE= yes
|
|||
IGNORE= needs at least FreeBSD 5.3-RELEASE
|
||||
.endif
|
||||
|
||||
.if ( ${OSVERSION} >= 700014 )
|
||||
.if ( ${OSVERSION} >= 700014 || ( ${OSVERSION} < 700000 && ${OSVERSION} >= ${MAX6OSVERSION} ) )
|
||||
IGNORE= is now obsolete, install net/${DRIVERNAME}-firmware-kmod instead
|
||||
.endif
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
PORTNAME= iwi-firmware
|
||||
RELNAME= ipw2200
|
||||
PORTVERSION= 2.4
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= net sysutils kld
|
||||
|
||||
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
|
||||
|
||||
MIN7OSVERSION= 700006
|
||||
MAX6OSVERSION= 602105
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
Loading…
Add table
Reference in a new issue