- Always check OPSYS along with OSVERSION, simplify condition

- Remove always false outdated OSVERSION conditions

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-02-14 15:26:53 +00:00
parent 3899ecdf2f
commit 892a54a86e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461813

View file

@ -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