From owner-svn-ports-all@freebsd.org Wed Feb 14 15:26:54 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E618F0767F; Wed, 14 Feb 2018 15:26:54 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCE57DD41; Wed, 14 Feb 2018 15:26:54 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 49CC011995; Wed, 14 Feb 2018 15:26:54 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1EFQsCF054689; Wed, 14 Feb 2018 15:26:54 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1EFQsHY054688; Wed, 14 Feb 2018 15:26:54 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201802141526.w1EFQsHY054688@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 14 Feb 2018 15:26:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461813 - head/net/bnxt-kmod X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/net/bnxt-kmod X-SVN-Commit-Revision: 461813 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2018 15:26:54 -0000 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 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