aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/wifimgr
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-05-26 20:29:49 +0000
committerJohn Marino <marino@FreeBSD.org>2014-05-26 20:29:49 +0000
commit2a58569cb27a86a893c58467146bf2906f18936d (patch)
treed90ffea402c243325bd6a6c30850a7699b154751 /net-mgmt/wifimgr
parent7562b64d6e67a0d8c4ef23e60d1bc3293c17fbc6 (diff)
downloadports-2a58569cb27a86a893c58467146bf2906f18936d.tar.gz
ports-2a58569cb27a86a893c58467146bf2906f18936d.zip
net-mgmt/wifimgr: Use OPSYS when OSVERSION is used (Unbreaks DragonFly)
Notes
Notes: svn path=/head/; revision=355447
Diffstat (limited to 'net-mgmt/wifimgr')
-rw-r--r--net-mgmt/wifimgr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/wifimgr/Makefile b/net-mgmt/wifimgr/Makefile
index 8cf7cd931eb9..f9e3a5a648c0 100644
--- a/net-mgmt/wifimgr/Makefile
+++ b/net-mgmt/wifimgr/Makefile
@@ -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