Subject: pkg/11866: packages(7) does not document MAKEFILE
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tibbetts@mit.edu>
List: netbsd-bugs
Date: 01/01/2001 13:17:16
>Number:         11866
>Category:       pkg
>Synopsis:       packages(7) does not document MAKEFILE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 01 13:17:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Richard Tibbetts
>Release:        1.4.2
>Organization:
	MIT SIPB
>Environment:
	
System: NetBSD khwarizmi 1.4.2 NetBSD 1.4.2 (GENERIC+MAXUSERS256) #1: Wed Jun 28 03:32:21 EDT 2000 root@khwarizmi:/usr/src/sys/arch/i386/compile/GENERIC+MAXUSERS256 i386


>Description:
	packages(7) is (according to /usr/pkgsrc/Packages.txt) the
cannonical location for documenting build system variables that can be
set in packages Makefiles. The MAKEFILE variable is not documented
there, and it can (sometimes very usefully) be set in package
Makefiles.

>How-To-Repeat:
	man 7 packages | grep MAKEFILE; observe lack of output.
>Fix:

Here is a patch for packages(7):

--- /usr/share/man/man7/packages.7      Fri Mar  3 11:27:43 2000
+++ packages.7  Mon Jan  1 16:07:14 2001
@@ -125,6 +125,9 @@
 .Dv NO_WRKSUBDIR
 is set, in which case simply
 .Pa ${WRKDIR} .
+.It MAKEFILE
+Name of the Makefile in ${WRKSRC}, used in the default build and
+install targets.
 .It DISTNAME
 Name of package or distribution.
 .It DISTFILES

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