Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 21:52:13 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341294 - head/net/bwn-firmware-kmod
Message-ID:  <201401262152.s0QLqDYt053773@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jan 26 21:52:12 2014
New Revision: 341294
URL: http://svnweb.freebsd.org/changeset/ports/341294
QAT: https://qat.redports.org/buildarchive/r341294/

Log:
  Add USES=uidfix to avoid the NEED_ROOT macro
  Properly set make env before installing so uidfix works

Modified:
  head/net/bwn-firmware-kmod/Makefile

Modified: head/net/bwn-firmware-kmod/Makefile
==============================================================================
--- head/net/bwn-firmware-kmod/Makefile	Sun Jan 26 21:39:49 2014	(r341293)
+++ head/net/bwn-firmware-kmod/Makefile	Sun Jan 26 21:52:12 2014	(r341294)
@@ -47,9 +47,7 @@ PLIST_SUB=	KMODNAME="${KMODNAME}" \
 
 NO_PACKAGE=	this is a modified version of a restricted firmware
 
-USES=		kmod
-
-NEED_ROOT=	yes
+USES=		kmod uidfix
 
 do-build:
 	cd ${WRKSRC} && \
@@ -78,7 +76,7 @@ do-build:
 	@cd ${WRKSRC}/lp/v4; make all
 
 do-install:
-	@cd ${WRKSRC}/bg/v4; ${SETENV} KMODDIR="${STAGEDIR}${KMODDIR}" make install
-	@cd ${WRKSRC}/lp/v4; ${SETENV} KMODDIR="${STAGEDIR}${KMODDIR}" make install
+	@cd ${WRKSRC}/bg/v4; ${SETENV} ${MAKE_ENV} KMODDIR="${STAGEDIR}${KMODDIR}" make install
+	@cd ${WRKSRC}/lp/v4; ${SETENV} ${MAKE_ENV} KMODDIR="${STAGEDIR}${KMODDIR}" make install
 
 .include <bsd.port.mk>



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