Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2015 15:48:10 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398284 - head/net-mgmt/wifimgr
Message-ID:  <201510011548.t91FmARZ055772@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510011548.t91FmARZ055772>