From owner-svn-ports-head@FreeBSD.ORG Sun Jan 26 21:36:24 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 825CBE64; Sun, 26 Jan 2014 21:36:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 54D061DE2; Sun, 26 Jan 2014 21:36:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0QLaO0f046237; Sun, 26 Jan 2014 21:36:24 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0QLaNPQ046235; Sun, 26 Jan 2014 21:36:23 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201401262136.s0QLaNPQ046235@svn.freebsd.org> From: Rene Ladan Date: Sun, 26 Jan 2014 21:36:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341292 - head/net/bwn-firmware-kmod X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jan 2014 21:36:24 -0000 Author: rene Date: Sun Jan 26 21:36:23 2014 New Revision: 341292 URL: http://svnweb.freebsd.org/changeset/ports/341292 QAT: https://qat.redports.org/buildarchive/r341292/ Log: - Support stage - Requires NEED_ROOT Approved by: portmgr (infrastructure blanket) Modified: head/net/bwn-firmware-kmod/Makefile head/net/bwn-firmware-kmod/pkg-plist Modified: head/net/bwn-firmware-kmod/Makefile ============================================================================== --- head/net/bwn-firmware-kmod/Makefile Sun Jan 26 21:28:19 2014 (r341291) +++ head/net/bwn-firmware-kmod/Makefile Sun Jan 26 21:36:23 2014 (r341292) @@ -47,10 +47,9 @@ PLIST_SUB= KMODNAME="${KMODNAME}" \ NO_PACKAGE= this is a modified version of a restricted firmware -NO_STAGE= yes - USES= kmod -.include + +NEED_ROOT= yes do-build: cd ${WRKSRC} && \ @@ -64,7 +63,7 @@ do-build: @${ECHO_CMD} "FIRMWS= ${FIRMWARES:C/.*/&.fw:${FWNAME}_&/}" >> \ ${WRKSRC}/bg/v4/Makefile @${ECHO_CMD} ".include " >> ${WRKSRC}/bg/v4/Makefile - @cd ${WRKSRC}/bg/v4; ${SETENV} KMODDIR="${KMODDIR}" make all + @cd ${WRKSRC}/bg/v4; make all cd ${WRKSRC} && \ tar xjf ${DISTDIR}/${FWFILE_LP} @@ -76,10 +75,10 @@ do-build: @${ECHO_CMD} "FIRMWS= ${FIRMWARES_LP:C/.*/&.fw:${FWNAME_LP}_&/}" >> \ ${WRKSRC}/lp/v4/Makefile @${ECHO_CMD} ".include " >> ${WRKSRC}/lp/v4/Makefile - @cd ${WRKSRC}/lp/v4; ${SETENV} KMODDIR="${KMODDIR}" make all + @cd ${WRKSRC}/lp/v4; make all do-install: - @cd ${WRKSRC}/bg/v4; ${SETENV} KMODDIR="${KMODDIR}" make install - @cd ${WRKSRC}/lp/v4; ${SETENV} KMODDIR="${KMODDIR}" make install + @cd ${WRKSRC}/bg/v4; ${SETENV} KMODDIR="${STAGEDIR}${KMODDIR}" make install + @cd ${WRKSRC}/lp/v4; ${SETENV} KMODDIR="${STAGEDIR}${KMODDIR}" make install -.include +.include Modified: head/net/bwn-firmware-kmod/pkg-plist ============================================================================== --- head/net/bwn-firmware-kmod/pkg-plist Sun Jan 26 21:28:19 2014 (r341291) +++ head/net/bwn-firmware-kmod/pkg-plist Sun Jan 26 21:36:23 2014 (r341292) @@ -1,3 +1,3 @@ -@cwd %%KMODDIR%% +@cwd /%%KMODDIR%% %%KMODNAME%%.ko %%KMODNAME_LP%%.ko