diff --git a/net/intel-em-kmod/Makefile b/net/intel-em-kmod/Makefile index a1b5762493c3..e916c48512bd 100644 --- a/net/intel-em-kmod/Makefile +++ b/net/intel-em-kmod/Makefile @@ -1,19 +1,17 @@ PORTNAME= em PORTVERSION= 7.7.8 PORTREVISION= 0 PORTEPOCH= 0 MASTER_SITE_SUBDIR= 17509/eng MAINTAINER= freebsd@intel.com 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 -MAX_NETMAP_OSVERSION= 1199999 # Doesn't build w/NETMAP on 12 - MASTERDIR= ${.CURDIR}/../intel-ixl-kmod PKGDIR= ${.CURDIR} DISTINFO_FILE= ${.CURDIR}/distinfo PATCHDIR= ${.CURDIR}/files .include "${MASTERDIR}/Makefile" diff --git a/net/intel-igb-kmod/Makefile b/net/intel-igb-kmod/Makefile index e9cbe341c92f..898ade9c2733 100644 --- a/net/intel-igb-kmod/Makefile +++ b/net/intel-igb-kmod/Makefile @@ -1,19 +1,17 @@ PORTNAME= igb PORTVERSION= 2.5.28 PORTREVISION= 0 PORTEPOCH= 0 MASTER_SITE_SUBDIR= 786099 MAINTAINER= freebsd@intel.com 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 -MAX_NETMAP_OSVERSION= 1199999 # Doesn't build w/NETMAP on 12 - MASTERDIR= ${.CURDIR}/../intel-ixl-kmod PKGDIR= ${.CURDIR} DISTINFO_FILE= ${.CURDIR}/distinfo PATCHDIR= ${.CURDIR}/files .include "${MASTERDIR}/Makefile" diff --git a/net/intel-ixl-kmod/Makefile b/net/intel-ixl-kmod/Makefile index faba4ed0a3a1..5186968deb71 100644 --- a/net/intel-ixl-kmod/Makefile +++ b/net/intel-ixl-kmod/Makefile @@ -1,66 +1,58 @@ PORTNAME?= ixl PORTVERSION?= 1.13.4 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= net MASTER_SITES?= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \ http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ MASTER_SITE_SUBDIR?= 786087 PKGNAMEPREFIX= intel- PKGNAMESUFFIX= -kmod MAINTAINER?= freebsd@intel.com COMMENT?= 40 gigabit FreeBSD Base Driver for Intel(R) Network Connections WWW= https://downloadcenter.intel.com LICENSE= BSD2CLAUSE USES= kmod OPTIONS_SINGLE= NETMAP -OPTIONS_SINGLE_NETMAP= NETMAP_AUTO NETMAP_ON NETMAP_OFF -OPTIONS_DEFAULT= NETMAP_AUTO +OPTIONS_SINGLE_NETMAP= NETMAP_ON NETMAP_OFF -NETMAP_AUTO_DESC= Enable netmap(4) support on supported OS versions NETMAP_ON_DESC= Enable netmap(4) support unconditionally NETMAP_OFF_DESC= Disable netmap(4) support unconditionally NETMAP_ON_CFLAGS= -DDEV_NETMAP NETMAP_OFF_CFLAGS= -UDEV_NETMAP WRKSRC_SUBDIR?= src SUB_FILES= pkg-message SUB_LIST= PORTNAME=${PORTNAME} MANPAGENAME?= ${PORTNAME} MANPAGELINKS?= if_${PORTNAME} PLIST_FILES= ${KMODDIR}/if_${PORTNAME}_updated.ko \ man/man4/${MANPAGENAME}.4.gz MAKE_ENV+= WERROR="" .for link in ${MANPAGELINKS} PLIST_FILES+= man/man4/${link}.4.gz .endfor -MAX_NETMAP_OSVERSION?= 1200500 # Maximum OSVERSION for which NETMAP support works - .include # Fixup for slave ports that use this as a master port. sbruno .if ${PORTNAME} == ixl ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64 ONLY_FOR_ARCHS_REASON= only supported on 32-bit architectures .endif -.if ${PORT_OPTIONS:MNETMAP_AUTO} && ${OSVERSION} <= ${MAX_NETMAP_OSVERSION} -CFLAGS+= -DDEV_NETMAP -.endif - do-install: ${INSTALL_KLD} ${WRKSRC}/if_${PORTNAME}.ko ${STAGEDIR}${KMODDIR}/if_${PORTNAME}_updated.ko ${INSTALL_MAN} ${WRKSRC}/${MANPAGENAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/ .for link in ${MANPAGELINKS} ${LN} ${STAGEDIR}${MAN4PREFIX}/man/man4/${MANPAGENAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/${link}.4 .endfor .include