aboutsummaryrefslogtreecommitdiffstats
path: root/net/bnxt-kmod
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-02-14 23:26:53 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-02-14 23:26:53 +0800
commit3a047d912a7d4021aac1a9522efe98a334c6cb97 (patch)
treea1546ab01eba5ce775c1c624825f2c96f234543d /net/bnxt-kmod
parente95c048255f4f50f83c5882842541a1fd3fd7a23 (diff)
downloadfreebsd-ports-gnome-3a047d912a7d4021aac1a9522efe98a334c6cb97.tar.gz
freebsd-ports-gnome-3a047d912a7d4021aac1a9522efe98a334c6cb97.tar.zst
freebsd-ports-gnome-3a047d912a7d4021aac1a9522efe98a334c6cb97.zip
- Always check OPSYS along with OSVERSION, simplify condition
- Remove always false outdated OSVERSION conditions Approved by: portmgr blanket
Diffstat (limited to 'net/bnxt-kmod')
-rw-r--r--net/bnxt-kmod/Makefile14
1 files changed, 1 insertions, 13 deletions
diff --git a/net/bnxt-kmod/Makefile b/net/bnxt-kmod/Makefile
index 9798df13330d..a0dd0108c266 100644
--- a/net/bnxt-kmod/Makefile
+++ b/net/bnxt-kmod/Makefile
@@ -43,21 +43,9 @@ do-install:
.include <bsd.port.pre.mk>
SUPPORTED= no
-.if ${OSVERSION} >= 1100122
-.if ${OSVERSION} < 1100500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200002 && ${OSVERSION} <= 1200014
SUPPORTED= yes
.endif
-.endif
-.if ${OSVERSION} >= 1100501
-.if ${OSVERSION} < 1101000
-SUPPORTED= yes
-.endif
-.endif
-.if ${OSVERSION} >= 1200002
-.if ${OSVERSION} <= 1200014
-SUPPORTED= yes
-.endif
-.endif
.if ${SUPPORTED} == no
IGNORE= not supported on this version of FreeBSD
.endif