From maxim@news1.macomnet.ru  Thu Dec  6 09:56:03 2001
Return-Path: <maxim@news1.macomnet.ru>
Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14])
	by hub.freebsd.org (Postfix) with ESMTP id A1EE637B405
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Dec 2001 09:56:02 -0800 (PST)
Received: (from maxim@localhost)
	by news1.macomnet.ru (8.11.1/8.11.1) id fB6Hu1R47155;
	Thu, 6 Dec 2001 20:56:01 +0300 (MSK)
	(envelope-from maxim)
Message-Id: <200112061756.fB6Hu1R47155@news1.macomnet.ru>
Date: Thu, 6 Dec 2001 20:56:01 +0300 (MSK)
From: maxim@macomnet.ru
Reply-To: maxim@news1.macomnet.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: make.conf(5) and share/examples/make.conf are out of date
X-Send-Pr-Version: 3.2

>Number:         32560
>Category:       docs
>Synopsis:       make.conf(5) and share/examples/make.conf are out of date
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 06 10:00:04 PST 2001
>Closed-Date:    Mon Dec 24 11:34:47 PST 2001
>Last-Modified:  Mon Dec 24 11:35:17 PST 2001
>Originator:     Maxim Konovalov, maxim@macomnet.ru
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
n/a
>Environment:

	FreeBSD 5.0-CURRENT i386

>Description:

	imp introduced a new option MODULES_OVERRIDE but
	did not document it.	

>How-To-Repeat:

	n/a

>Fix:

Index: make.conf
===================================================================
RCS file: /home/ncvs/src/share/examples/etc/make.conf,v
retrieving revision 1.176
diff -u -r1.176 make.conf
--- make.conf	1 Oct 2001 08:13:57 -0000	1.176
+++ make.conf	2 Dec 2001 13:40:47 -0000
@@ -123,6 +123,8 @@
 # To build sys/modules when building the world (our old way of doing things)
 #MODULES_WITH_WORLD=true	# do not build modules when building kernel
 #
+# The list of modules to build instead of all of them.
+#MODULES_OVERRIDE=	linux ipfw
 #
 # The following controls building optional IDEA code in libcrypto and
 # certain ports.  Patents are involved - you must not use this unless

Index: man5/make.conf.5
===================================================================
RCS file: /home/ncvs/src/share/man/man5/make.conf.5,v
retrieving revision 1.34
diff -u -r1.34 make.conf.5
--- man5/make.conf.5	22 Sep 2001 08:21:56 -0000	1.34
+++ man5/make.conf.5	2 Dec 2001 13:44:33 -0000
@@ -353,6 +353,9 @@
 .It Va MODULES_WITH_WORLD
 .Pq Vt bool
 Set to build modules with the system instead of the kernel.
+.It Va MODULES_OVERRIDE
+.Pq Vt str
+Set a list of modules to build instead of all of them.
 .It Va NO_CVS
 .Pq Vt bool
 Set to not build CVS.

-- 
Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer
phone: +7 (095) 796-9079, mailto: maxim@macomnet.ru

>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@FreeBSD.org>
To: maxim@news1.macomnet.ru
Cc: bug-followup@FreeBSD.org
Subject: Re: docs/32560: make.conf(5) and share/examples/make.conf are out of date
Date: Fri, 7 Dec 2001 11:39:56 +0200

 On Thu, Dec 06, 2001 at 08:56:01PM +0300, maxim@macomnet.ru wrote:
 > 
 > Index: man5/make.conf.5
 > ===================================================================
 > RCS file: /home/ncvs/src/share/man/man5/make.conf.5,v
 > retrieving revision 1.34
 > diff -u -r1.34 make.conf.5
 > --- man5/make.conf.5	22 Sep 2001 08:21:56 -0000	1.34
 > +++ man5/make.conf.5	2 Dec 2001 13:44:33 -0000
 > @@ -353,6 +353,9 @@
 >  .It Va MODULES_WITH_WORLD
 >  .Pq Vt bool
 >  Set to build modules with the system instead of the kernel.
 > +.It Va MODULES_OVERRIDE
 > +.Pq Vt str
 > +Set a list of modules to build instead of all of them.
 >  .It Va NO_CVS
 >  .Pq Vt bool
 >  Set to not build CVS.
 > 
 Maxim,
 
 I think MODULES_OVERRIDE logically belongs to the "kernel build"
 section of make.conf(5), after the NO_MODULES knob.  Otherwise,
 looks good.  Agreed?
 
 Index: share/examples/etc/make.conf
 ===================================================================
 RCS file: /home/ncvs/src/share/examples/etc/make.conf,v
 retrieving revision 1.176
 diff -u -r1.176 make.conf
 --- share/examples/etc/make.conf	2001/10/01 08:13:57	1.176
 +++ share/examples/etc/make.conf	2001/12/07 09:39:42
 @@ -123,6 +123,8 @@
  # To build sys/modules when building the world (our old way of doing things)
  #MODULES_WITH_WORLD=true	# do not build modules when building kernel
  #
 +# The list of modules to build instead of all of them.
 +#MODULES_OVERRIDE=	linux ipfw
  #
  # The following controls building optional IDEA code in libcrypto and
  # certain ports.  Patents are involved - you must not use this unless
 Index: share/man/man5/make.conf.5
 ===================================================================
 RCS file: /home/ncvs/src/share/man/man5/make.conf.5,v
 retrieving revision 1.34
 diff -u -r1.34 make.conf.5
 --- share/man/man5/make.conf.5	2001/09/22 08:21:56	1.34
 +++ share/man/man5/make.conf.5	2001/12/07 09:39:43
 @@ -286,6 +286,9 @@
  .It Va NO_MODULES
  .Pq Vt bool
  Set to not build modules with the kernel.
 +.It Va MODULES_OVERRIDE
 +.Pq Vt str
 +Set to a list of modules to build instead of all of them.
  .El
  .Pp
  The following list provides a name and short description for variables
 
 
 Cheers,
 -- 
 Ruslan Ermilov		Oracle Developer/DBA,
 ru@sunbay.com		Sunbay Software AG,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.512.251	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon Dec 24 11:34:47 PST 2001 
State-Changed-Why:  
A slightly modified version committed, thanks! 


Responsible-Changed-From-To: freebsd-doc->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Mon Dec 24 11:34:47 PST 2001 
Responsible-Changed-Why:  

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32560 
>Unformatted:
