net-mgmt/wifimgr: Use OPSYS when OSVERSION is used (Unbreaks DragonFly)

This commit is contained in:
John Marino 2014-05-26 20:29:49 +00:00
parent 7562b64d6e
commit 2a58569cb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355447

View File

@ -20,7 +20,7 @@ OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${OSVERSION} >= 901504
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 901504
MAKE_ENV+= INSTALL="install -U"
.endif
@ -34,7 +34,7 @@ MAKE_ENV+= WITHOUT_NLS=${WITHOUT_NLS}
.endif
post-patch:
.if ${OSVERSION} < 901504
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 901504
@${REINPLACE_CMD} -e 's/-o root -g wheel//' ${WRKSRC}/src/Makefile
.endif