mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
net-mgmt/wifimgr: Use OPSYS when OSVERSION is used (Unbreaks DragonFly)
This commit is contained in:
parent
7562b64d6e
commit
2a58569cb2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355447
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user