aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-01 15:48:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-01 15:48:09 +0000
commit27b549417d4ac77309acf4143322cafdd01bc43e (patch)
tree8072b2737fa0394bfb4b5a608a681981837735f5 /net-mgmt
parentedb1a24ffaff162315ffd4d8fa3c95d59f61049a (diff)
downloadports-27b549417d4ac77309acf4143322cafdd01bc43e.tar.gz
ports-27b549417d4ac77309acf4143322cafdd01bc43e.zip
- Improve the fix once more to build on both FreeBSD and DragonFly and not require an .if
Tested by: marino Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=398284
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/wifimgr/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/net-mgmt/wifimgr/Makefile b/net-mgmt/wifimgr/Makefile
index b3fed5f667f5..2e498c031560 100644
--- a/net-mgmt/wifimgr/Makefile
+++ b/net-mgmt/wifimgr/Makefile
@@ -26,10 +26,7 @@ NLS_USES= gettext pkgconfig
NLS_CFLAGS_OFF= -DWITHOUT_NLS
NLS_MAKE_ENV_OFF= WITHOUT_NLS=yes
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD
-MAKE_ENV= INSTALL="install -U"
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's/-o root -g wheel//' ${WRKSRC}/src/Makefile
.include <bsd.port.mk>