mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
net/intel-*-kmod: Remove MAX_NETMAP_OSVERSION
ALl the version mentioned here for MAX_NETMAP_OSVERSION are unsupported by the ports tree. So remove the check and also remove the OPTION NETMAP_AUTO. Approved by: portmgr (blanket)
This commit is contained in:
parent
6808f97154
commit
e717a9367f
3 changed files with 2 additions and 14 deletions
|
@ -9,8 +9,6 @@ COMMENT= Gigabit FreeBSD Base Drivers for Intel(R) Ethernet
|
||||||
|
|
||||||
BROKEN_armv6= fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99
|
BROKEN_armv6= fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99
|
||||||
|
|
||||||
MAX_NETMAP_OSVERSION= 1199999 # Doesn't build w/NETMAP on 12
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../intel-ixl-kmod
|
MASTERDIR= ${.CURDIR}/../intel-ixl-kmod
|
||||||
PKGDIR= ${.CURDIR}
|
PKGDIR= ${.CURDIR}
|
||||||
DISTINFO_FILE= ${.CURDIR}/distinfo
|
DISTINFO_FILE= ${.CURDIR}/distinfo
|
||||||
|
|
|
@ -9,8 +9,6 @@ COMMENT= NIC Driver for Intel(R) 82575/6 and 82580-Based cards
|
||||||
|
|
||||||
BROKEN_armv6= fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99
|
BROKEN_armv6= fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99
|
||||||
|
|
||||||
MAX_NETMAP_OSVERSION= 1199999 # Doesn't build w/NETMAP on 12
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../intel-ixl-kmod
|
MASTERDIR= ${.CURDIR}/../intel-ixl-kmod
|
||||||
PKGDIR= ${.CURDIR}
|
PKGDIR= ${.CURDIR}
|
||||||
DISTINFO_FILE= ${.CURDIR}/distinfo
|
DISTINFO_FILE= ${.CURDIR}/distinfo
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME?= ixl
|
PORTNAME?= ixl
|
||||||
PORTVERSION?= 1.13.4
|
PORTVERSION?= 1.13.4
|
||||||
PORTREVISION?= 0
|
PORTREVISION?= 1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES?= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \
|
MASTER_SITES?= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \
|
||||||
http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/
|
http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/
|
||||||
|
@ -17,10 +17,8 @@ LICENSE= BSD2CLAUSE
|
||||||
USES= kmod
|
USES= kmod
|
||||||
|
|
||||||
OPTIONS_SINGLE= NETMAP
|
OPTIONS_SINGLE= NETMAP
|
||||||
OPTIONS_SINGLE_NETMAP= NETMAP_AUTO NETMAP_ON NETMAP_OFF
|
OPTIONS_SINGLE_NETMAP= NETMAP_ON NETMAP_OFF
|
||||||
OPTIONS_DEFAULT= NETMAP_AUTO
|
|
||||||
|
|
||||||
NETMAP_AUTO_DESC= Enable netmap(4) support on supported OS versions
|
|
||||||
NETMAP_ON_DESC= Enable netmap(4) support unconditionally
|
NETMAP_ON_DESC= Enable netmap(4) support unconditionally
|
||||||
NETMAP_OFF_DESC= Disable netmap(4) support unconditionally
|
NETMAP_OFF_DESC= Disable netmap(4) support unconditionally
|
||||||
|
|
||||||
|
@ -41,8 +39,6 @@ MAKE_ENV+= WERROR=""
|
||||||
PLIST_FILES+= man/man4/${link}.4.gz
|
PLIST_FILES+= man/man4/${link}.4.gz
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
MAX_NETMAP_OSVERSION?= 1200500 # Maximum OSVERSION for which NETMAP support works
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
# Fixup for slave ports that use this as a master port. sbruno
|
# Fixup for slave ports that use this as a master port. sbruno
|
||||||
|
@ -51,10 +47,6 @@ ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64
|
||||||
ONLY_FOR_ARCHS_REASON= only supported on 32-bit architectures
|
ONLY_FOR_ARCHS_REASON= only supported on 32-bit architectures
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MNETMAP_AUTO} && ${OSVERSION} <= ${MAX_NETMAP_OSVERSION}
|
|
||||||
CFLAGS+= -DDEV_NETMAP
|
|
||||||
.endif
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_KLD} ${WRKSRC}/if_${PORTNAME}.ko ${STAGEDIR}${KMODDIR}/if_${PORTNAME}_updated.ko
|
${INSTALL_KLD} ${WRKSRC}/if_${PORTNAME}.ko ${STAGEDIR}${KMODDIR}/if_${PORTNAME}_updated.ko
|
||||||
${INSTALL_MAN} ${WRKSRC}/${MANPAGENAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/
|
${INSTALL_MAN} ${WRKSRC}/${MANPAGENAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/
|
||||||
|
|
Loading…
Add table
Reference in a new issue