aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/wifimgr
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-10-01 23:48:09 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-10-01 23:48:09 +0800
commit335073c0d91ab4602d58ad36327f047d0fd2ce1e (patch)
tree8072b2737fa0394bfb4b5a608a681981837735f5 /net-mgmt/wifimgr
parent2e643e99c3f6e00ee28cded8beed0d5edd8be473 (diff)
downloadfreebsd-ports-gnome-335073c0d91ab4602d58ad36327f047d0fd2ce1e.tar.gz
freebsd-ports-gnome-335073c0d91ab4602d58ad36327f047d0fd2ce1e.tar.zst
freebsd-ports-gnome-335073c0d91ab4602d58ad36327f047d0fd2ce1e.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
Diffstat (limited to 'net-mgmt/wifimgr')
-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>