OSVERSION is not defined before bsd.pre.

Pointy Hat to:	az
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2015-03-03 08:39:11 +00:00
parent b9d941e4a9
commit 7a546a632d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380349

View file

@ -43,10 +43,6 @@ H2O_PIDDIR= /var/run/${PORTNAME}/
USE_RC_SUBR= ${PORTNAME}
.if ${OSVERSION} < 900000
BROKEN= fails to compile on 8.x
.endif
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR} \
${STAGEDIR}${ETCDIR} \
@ -58,4 +54,10 @@ do-install:
${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
${INSTALL_PROGRAM} ${WRKDIR}/.build/h2o ${STAGEDIR}${PREFIX}/bin/h2o
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 900000
BROKEN= fails to compile on 8.x
.endif
.include <bsd.port.post.mk>