From owner-freebsd-questions@FreeBSD.ORG Sun May 16 05:10:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C39316A4CE for ; Sun, 16 May 2004 05:10:34 -0700 (PDT) Received: from smtp.web.de (smtp07.web.de [217.72.192.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AD5043D41 for ; Sun, 16 May 2004 05:10:33 -0700 (PDT) (envelope-from platanthera@web.de) Received: from [217.225.248.166] (helo=liza.hacienda.herti) by smtp.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.101 #91) id 1BPKTO-0001z9-00 for freebsd-questions@freebsd.org; Sun, 16 May 2004 14:10:31 +0200 From: platanthera To: freebsd-questions@freebsd.org Date: Sun, 16 May 2004 14:10:13 +0200 User-Agent: KMail/1.6.2 References: <200405132329.07892.platanthera@web.de> <200405150303.31682.platanthera@web.de> <40A572E0.9050802@mac.com> In-Reply-To: <40A572E0.9050802@mac.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405161410.13954.platanthera@web.de> Sender: platanthera@web.de Subject: where has /etc/defaults/make.conf gone? [was: COPTFLAGS...] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 May 2004 12:10:34 -0000 On Saturday 15 May 2004 03:31, Chuck Swiger wrote: > platanthera wrote: > > On Friday 14 May 2004 00:03, Giorgos Keramidas wrote: > > [ ... ] > > >> Yes, you do. But I'm sure that you will find the make.conf(5) > >> manpage very informative and useful. > > > > not really. it says > > ... > > The /etc/make.conf file is included from the appropriate Makefile > > which specifies the default settings for all the available options. > > Options need only be specified in /etc/make.conf when the system > > administrator wishes to override these defaults. > > ... > > The manpage is correct. /etc/make.conf behaves much the same way as > /etc/rc.conf and other config files with regard to default values. > > Take a look in /etc/defaults/make.conf, /etc/defaults/rc.conf, etc. OK, in case of rc.conf the situation is pretty clear - the general system defaults are defined in /etc/defaults/rc.conf and if you want to change something you edit /etc/rc.conf whose settings override those of /etc/defaults/rc.conf. But what about make.conf? There is no /etc/defaults/make.conf on my sytem (5.2_RELENG), and looking at /usr/src/etc/defaults/ after running cvsup it seems that's correct. I didn't notice when /etc/defaults/make.conf disappeared (during 4.x --> 5.x transition?), but the really important question is: Where are the general system defaults defined now? [...] > Please tell us which port was listing the -O2? Ports which disregard > CFLAGS are considered BROKEN and ought to be fixed... koffice in this case (but I think all the other kde stuff and other ports too) have their own CFLAGS defaults, which get overridden by the system defaults specified in /etc/make.conf or whereever. Think that's OK. regards