Index: head/net/intel-ix-kmod/Makefile =================================================================== --- head/net/intel-ix-kmod/Makefile (revision 500918) +++ head/net/intel-ix-kmod/Makefile (revision 500919) @@ -1,22 +1,28 @@ # Created by: Sergey Kozlov # $FreeBSD$ PORTNAME= ix PORTVERSION= 3.3.6 PORTREVISION= 1 PORTEPOCH= 0 MASTER_SITE_SUBDIR= 14688/eng MAINTAINER= freebsd@intel.com COMMENT= 10 gigabit FreeBSD Base Driver for Intel(R) Network Connections MANPAGENAME= ixgbe MANPAGELINKS= ix if_ix if_ixgbe MAX_NETMAP_OSVERSION= 1199999 # Doesn't build w/NETMAP on 12 MASTERDIR= ${.CURDIR}/../intel-ixl-kmod PKGDIR= ${.CURDIR} DISTINFO_FILE= ${.CURDIR}/distinfo +OPTIONS_DEFINE= SRIOV +SRIOV_DESC= Enable SR-IOV support (experimental) + +post-patch-SRIOV-on: + @${SED} -i '' 's|SRIOV_ENABLE = 0|SRIOV_ENABLE = 1|g' ${WRKSRC}/Makefile + .include "${MASTERDIR}/Makefile"