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