svn commit: r398284 - head/net-mgmt/wifimgr

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Oct 1 15:48:10 UTC 2015


Author: amdmi3
Date: Thu Oct  1 15:48:09 2015
New Revision: 398284
URL: https://svnweb.freebsd.org/changeset/ports/398284

Log:
  - Improve the fix once more to build on both FreeBSD and DragonFly and not require an .if
  
  Tested by:	marino
  Approved by:	portmgr blanket

Modified:
  head/net-mgmt/wifimgr/Makefile

Modified: head/net-mgmt/wifimgr/Makefile
==============================================================================
--- head/net-mgmt/wifimgr/Makefile	Thu Oct  1 15:25:39 2015	(r398283)
+++ head/net-mgmt/wifimgr/Makefile	Thu Oct  1 15:48:09 2015	(r398284)
@@ -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>


More information about the svn-ports-all mailing list