Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2018 15:26:54 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461813 - head/net/bnxt-kmod
Message-ID:  <201802141526.w1EFQsHY054688@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802141526.w1EFQsHY054688>