Subject: pkg/7426: bsd.pkg.mk uses MAKE_ENV in many wrong places
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 04/20/1999 05:06:01
>Number:         7426
>Category:       pkg
>Synopsis:       bsd.pkg.mk uses MAKE_ENV in many wrong places
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 20 05:05:00 1999
>Last-Modified:
>Originator:     Todd Vierling
>Organization:
	DuhNet: Pointing out the obvious since 1994.

>Release:        Now
>Environment:
N/A

>Description:

While attempting to modify the mailwrapper pkg to set MAKECONF to
/dev/null, it seems that I cannot use MAKE_ENV for this purpose because
MAKE_ENV is also used for bsd.pkg.mk's internal make invocations, which is
Wrong.

>How-To-Repeat:
>Fix:

Remove the ${MAKE_ENV} from the stuff passed to ${SETENV} on the recursive
make invocation lines in bsd.pkg.mk.

This is not imperative before the release, as I have come up with a
workaround for the pkg in question.
>Audit-Trail:
>Unformatted: