From nobody@FreeBSD.org  Wed May  1 21:23:38 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id EB303BA5
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  1 May 2013 21:23:38 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [69.147.83.34])
	by mx1.freebsd.org (Postfix) with ESMTP id C394E13A4
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  1 May 2013 21:23:38 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r41LNcPm048007
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 1 May 2013 21:23:38 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r41LNcEL048006;
	Wed, 1 May 2013 21:23:38 GMT
	(envelope-from nobody)
Message-Id: <201305012123.r41LNcEL048006@red.freebsd.org>
Date: Wed, 1 May 2013 21:23:38 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] document the LOCAL_* vars in build(7)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         178286
>Category:       docs
>Synopsis:       [PATCH] document the LOCAL_* vars in build(7)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 01 21:30:00 UTC 2013
>Closed-Date:    Thu Mar 27 06:12:44 CDT 2014
>Last-Modified:  Thu Mar 27 11:20:00 UTC 2014
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD gran-tourismo.west.isilon.com 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r+ba9afe9: Fri Apr 19 20:29:10 PDT 2013     gcooper@gran-tourismo.west.isilon.com:/usr/obj/usr/src/sys/GRAN-TOURISMO  amd64
>Description:
Several variables were added to the build recently, but aren't documented. The attached patch documents their existence.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

From 941fe31f4e33812de0355a3f51787609defe87d1 Mon Sep 17 00:00:00 2001
From: Garrett Cooper <yanegomi@gmail.com>
Date: Wed, 1 May 2013 14:13:02 -0700
Subject: [PATCH 1/2] Document the rest of the LOCAL_* vars in CURRENT

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
---
 share/man/man7/build.7 | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
index 931b444..73f9418 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -411,8 +411,25 @@ then
 is set to the value of
 .Va KERNFAST .
 .It Va LOCAL_DIRS
-If set, this variable supplies a list of additional directories to
-build, relative to the root of the source tree.
+If set, this variable supplies a list of additional directories relative to
+the root of the source tree to build as part of the
+.Cm everything
+target.
+.It Va LOCAL_LIB_DIRS
+If set, this variable supplies a list of additional directories relative to
+the root of the source tree to build as part of the
+.Cm libraries
+target.
+.It Va LOCAL_MTREE
+If set, this variable supplies a list of additional mtrees relative to the
+root of the source tree to use as part of the
+.Cm hierarchy
+target.
+.It Va LOCAL_TOOL_DIRS
+If set, this variable supplies a list of additional directories relative to
+the root of the source tree to build as part of the
+.Cm build-tools
+target.
 .It Va PORTS_MODULES
 A list of ports with kernel modules that should be built and installed
 as part of the
-- 
1.8.2.1



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: bdrewery 
State-Changed-When: Thu Mar 27 06:12:43 CDT 2014 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178286 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/178286: commit references a PR
Date: Thu, 27 Mar 2014 11:12:39 +0000 (UTC)

 Author: bdrewery
 Date: Thu Mar 27 11:12:35 2014
 New Revision: 263812
 URL: http://svnweb.freebsd.org/changeset/base/263812
 
 Log:
   Update build(7) with LOCAL_* vars
   
   PR:		docs/178286
   Submitted by:	Garrett Cooper <yaneurabeya@gmail.com>
   Sponsored by:	EMC / Isilon Storage Division
   MFC after:	1 week
 
 Modified:
   head/share/man/man7/build.7
 
 Modified: head/share/man/man7/build.7
 ==============================================================================
 --- head/share/man/man7/build.7	Thu Mar 27 11:10:13 2014	(r263811)
 +++ head/share/man/man7/build.7	Thu Mar 27 11:12:35 2014	(r263812)
 @@ -24,7 +24,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd October 10, 2012
 +.Dd March 27, 2014
  .Dt BUILD 7
  .Os
  .Sh NAME
 @@ -411,8 +411,25 @@ then
  is set to the value of
  .Va KERNFAST .
  .It Va LOCAL_DIRS
 -If set, this variable supplies a list of additional directories to
 -build, relative to the root of the source tree.
 +If set, this variable supplies a list of additional directories relative to
 +the root of the source tree to build as part of the
 +.Cm everything
 +target.
 +.It Va LOCAL_LIB_DIRS
 +If set, this variable supplies a list of additional directories relative to
 +the root of the source tree to build as part of the
 +.Cm libraries
 +target.
 +.It Va LOCAL_MTREE
 +If set, this variable supplies a list of additional mtrees relative to the
 +root of the source tree to use as part of the
 +.Cm hierarchy
 +target.
 +.It Va LOCAL_TOOL_DIRS
 +If set, this variable supplies a list of additional directories relative to
 +the root of the source tree to build as part of the
 +.Cm build-tools
 +target.
  .It Va PORTS_MODULES
  A list of ports with kernel modules that should be built and installed
  as part of the
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
