svn commit: r461813 - head/net/bnxt-kmod
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Feb 14 15:26:54 UTC 2018
Author: amdmi3
Date: Wed Feb 14 15:26:53 2018
New Revision: 461813
URL: https://svnweb.freebsd.org/changeset/ports/461813
Log:
- Always check OPSYS along with OSVERSION, simplify condition
- Remove always false outdated OSVERSION conditions
Approved by: portmgr blanket
Modified:
head/net/bnxt-kmod/Makefile
Modified: head/net/bnxt-kmod/Makefile
==============================================================================
--- head/net/bnxt-kmod/Makefile Wed Feb 14 15:24:45 2018 (r461812)
+++ head/net/bnxt-kmod/Makefile Wed Feb 14 15:26:53 2018 (r461813)
@@ -43,20 +43,8 @@ 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
More information about the svn-ports-all
mailing list