From 27b549417d4ac77309acf4143322cafdd01bc43e Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 1 Oct 2015 15:48:09 +0000 Subject: - Improve the fix once more to build on both FreeBSD and DragonFly and not require an .if Tested by: marino Approved by: portmgr blanket --- net-mgmt/wifimgr/Makefile | 7 ++----- 1 file 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 - -.if ${OPSYS} == FreeBSD -MAKE_ENV= INSTALL="install -U" -.endif +post-patch: + @${REINPLACE_CMD} -e 's/-o root -g wheel//' ${WRKSRC}/src/Makefile .include -- cgit v1.2.3