1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

net/intel-ixl-kmod: fix build of slave ports

Use PATCH* block to already existing if for the master port.

MFH:		2020Q3 (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-09-01 10:32:42 +00:00
parent 50c5f8d805
commit 55bd2eed9a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547259

View File

@ -11,9 +11,6 @@ MASTER_SITE_SUBDIR?= 25160/eng
PKGNAMEPREFIX= intel-
PKGNAMESUFFIX= -kmod
PATCH_SITES= https://svnweb.freebsd.org/base/head/sys/dev/ixl/
PATCHFILES= ixl_pf_main.c?view=patch&r1=358698&r2=358697&pathrev=358698:-p4
MAINTAINER?= freebsd@intel.com
COMMENT?= 40 gigabit FreeBSD Base Driver for Intel(R) Network Connections
@ -52,6 +49,8 @@ MAX_NETMAP_OSVERSION?= 1200500 # Maximum OSVERSION for which NETMAP support wor
# Fixup for slave ports that use this as a master port. sbruno
.if ${PORTNAME} == ixl
PATCH_SITES= https://svnweb.freebsd.org/base/head/sys/dev/ixl/
PATCHFILES= ixl_pf_main.c?view=patch&r1=358698&r2=358697&pathrev=358698:-p4
ONLY_FOR_ARCHS= amd64 powerpc64
ONLY_FOR_ARCHS_REASON= Not supported on other architectures, amd64 and powerpc64 only.
.endif