From nobody@FreeBSD.org  Wed Jul  3 07:07:36 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C461D37B400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  3 Jul 2002 07:07:36 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7377E43E31
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  3 Jul 2002 07:07:36 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g63E7aOT045781
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 3 Jul 2002 07:07:36 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g63E7ZPx045780;
	Wed, 3 Jul 2002 07:07:35 -0700 (PDT)
Message-Id: <200207031407.g63E7ZPx045780@www.freebsd.org>
Date: Wed, 3 Jul 2002 07:07:35 -0700 (PDT)
From: Jason Bacon <bacon@smithers.neuro.mcw.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Nedit pkg_add refers to non-existant /etc/make.conf
X-Send-Pr-Version: www-1.0

>Number:         40147
>Category:       misc
>Synopsis:       Nedit pkg_add refers to non-existant /etc/make.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 03 07:10:02 PDT 2002
>Closed-Date:    Wed Jul 03 07:52:54 PDT 2002
>Last-Modified:  Wed Jul 03 07:52:54 PDT 2002
>Originator:     Jason Bacon
>Release:        4.6-RELEASE
>Organization:
Medical College of Wisconsin
>Environment:
>Description:
Pkg_add nedit-5.2.tgz issues a message regarding HAVE_MOTIF=yes
in /etc/make.conf.  Should be /etc/defaults/make.conf

>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Wed Jul 3 07:48:34 PDT 2002 
State-Changed-Why:  

/etc/make.conf is correct.  /etc/make.conf is a configuration file that 
make(1) reads on every invocation (or, to be more precise, 
/usr/share/mk/sys.mk  is read on every invocation, and sys.mk reads 
/etc/make.conf if it exists). 

/etc/defaults/make.conf is just a list of variables that are not 
supposed to be modified; just like /etc/defaults/rc.conf, it is a 
template, the purpose of which is to show you which variables you can 
change for your needs.  The place to actually set variables is 
/etc/make.conf, which does not exist on clean installations, but is 
created by the system administrator as needed. 

Thus, any program or script that tries to set system-wide make(1) 
configuration options should attempt to modify /etc/make.conf, not 
/etc/defaults/make.conf; that is just what Nedit does. 

Still, thank you for trying to improve FreeBSD by reporting what you 
thought was a genuine problem! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40147 
>Unformatted:
