Date: Wed, 10 Jun 2020 14:46:30 +0000 (UTC) From: "Serhii (Sergey) Kozlov" <skozlov@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r538398 - head/net/intel-ixl-kmod Message-ID: <202006101446.05AEkUQR025832@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: skozlov Date: Wed Jun 10 14:46:30 2020 New Revision: 538398 URL: https://svnweb.freebsd.org/changeset/ports/538398 Log: Modernize net/intel-ixl-kmod - Unbreak on 12.1 (no netmap headers, netmap should be off) - Remove obsolete mentions of pre-11 FreeBSD versions - Allow for a slave port to not have a man page Sponsored by: Intel Modified: head/net/intel-ixl-kmod/Makefile Modified: head/net/intel-ixl-kmod/Makefile ============================================================================== --- head/net/intel-ixl-kmod/Makefile Wed Jun 10 14:30:04 2020 (r538397) +++ head/net/intel-ixl-kmod/Makefile Wed Jun 10 14:46:30 2020 (r538398) @@ -3,6 +3,7 @@ PORTNAME?= ixl PORTVERSION?= 1.11.9 +PORTREVISION?= 1 CATEGORIES= net MASTER_SITES= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \ http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ @@ -17,13 +18,11 @@ LICENSE= BSD2CLAUSE USES= kmod -# Present version of net/intel-em-kmod has issues building with netmap(4) -# support on 11+. Narrowing netmap(4) support to this port only OPTIONS_SINGLE= NETMAP OPTIONS_SINGLE_NETMAP= NETMAP_AUTO NETMAP_ON NETMAP_OFF OPTIONS_DEFAULT= NETMAP_AUTO -NETMAP_AUTO_DESC= Enable netmap(4) support on FreeBSD 11.0+ +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 @@ -34,17 +33,20 @@ WRKSRC_SUBDIR= src SUB_FILES= pkg-message SUB_LIST= PORTNAME=${PORTNAME} +MAKE_ENV+= WERROR="" +PLIST_FILES= ${KMODDIR}/if_${PORTNAME}_updated.ko +MANPAGEEXISTS?= 1 MANPAGENAME?= ${PORTNAME} MANPAGELINKS?= if_${PORTNAME} -PLIST_FILES= ${KMODDIR}/if_${PORTNAME}_updated.ko \ - man/man4/${MANPAGENAME}.4.gz -MAKE_ENV+= WERROR="" -.for link in ${MANPAGELINKS} +.if ${MANPAGEEXISTS} +PLIST_FILES+= man/man4/${MANPAGENAME}.4.gz +. for link in ${MANPAGELINKS} PLIST_FILES+= man/man4/${link}.4.gz -.endfor +. endfor +.endif -MAX_NETMAP_OSVERSION?= 1299999 # Maximum OSVERSION for which NETMAP support works +MAX_NETMAP_OSVERSION?= 1200500 # Maximum OSVERSION for which NETMAP support works .include <bsd.port.pre.mk> @@ -60,10 +62,11 @@ CFLAGS+= -DDEV_NETMAP do-install: ${INSTALL_KLD} ${WRKSRC}/if_${PORTNAME}.ko ${STAGEDIR}${KMODDIR}/if_${PORTNAME}_updated.ko +.if ${MANPAGEEXISTS} ${INSTALL_MAN} ${WRKSRC}/${MANPAGENAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/ - -.for link in ${MANPAGELINKS} +. for link in ${MANPAGELINKS} ${LN} ${STAGEDIR}${MAN4PREFIX}/man/man4/${MANPAGENAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/${link}.4 -.endfor +. endfor +.endif .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006101446.05AEkUQR025832>