Subject: bin/18030: make(1) does not mention MAKESYSPATH
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 08/21/2002 23:32:32
>Number:         18030
>Category:       bin
>Synopsis:       make(1) does not mention MAKESYSPATH
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 21 19:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Julio Merino
>Release:        NetBSD 1.6F
>Organization:
HispaBSD
>Environment:
	
	
System: NetBSD darkstar.local 1.6F NetBSD 1.6F (DARKSTAR) #7: Mon Aug 19 13:46:31 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
	According to the line: char *syspath = getenv("MAKESYSPATH");
	which apperes in main.c of usr.bin/make, the make program uses
	the environment variable MAKESYSPATH, although its manpage does
	not say it.

	The following patch adds it toghether with other variables.
>How-To-Repeat:
	
>Fix:

Index: make.1
===================================================================
RCS file: /pub/NetBSD-CVS/basesrc/usr.bin/make/make.1,v
retrieving revision 1.63
diff -u -r1.63 make.1
--- make.1	2002/03/19 22:17:30	1.63
+++ make.1	2002/08/21 21:28:10
@@ -1208,6 +1208,7 @@
 .Ev MAKEFLAGS ,
 .Ev MAKEOBJDIR ,
 .Ev MAKEOBJDIRPREFIX ,
+.Ev MAKESYSPATH ,
 and
 .Ev PWD .
 .Pp

>Release-Note:
>Audit-Trail:
>Unformatted: