From owner-freebsd-questions@FreeBSD.ORG Wed Nov 26 06:56:45 2003 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 CBF8516A4CE for ; Wed, 26 Nov 2003 06:56:45 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA73743FBD for ; Wed, 26 Nov 2003 06:56:44 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.200.37]) by comcast.net (sccrmhc12) with ESMTP id <200311261456430120030knbe>; Wed, 26 Nov 2003 14:56:44 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id B83D86F; Wed, 26 Nov 2003 09:56:43 -0500 (EST) Sender: lowell@be-well.ilk.org To: David.Bear@asu.edu References: <20031125161343.G13943@asu.edu> From: Lowell Gilbert Date: 26 Nov 2003 09:56:43 -0500 In-Reply-To: <20031125161343.G13943@asu.edu> Message-ID: <44he0rjhzo.fsf@be-well.ilk.org> Lines: 71 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: updating make.conf for buildworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 14:56:45 -0000 David Bear writes: > doing my first buildworld, I have looked at /usr/src/UPDATING .. Since > this was in install of 4.9-RELEASE I'm guessing I can fly through most > of the stuff related to 'older' versions? So, now I'm creating > /etc/make.conf and the web pages says "set it to something sensible".. > I'm not sure what is sensible for many of these things. Some are > obvious. A completely empty make.conf is "sensible," so when in doubt, leave it out. > Since I've installed postfix for my mta, I thought it would be okay to > disable sendmail from the mix.. Otherwise, below are the items I've > uncommented. comments appereciated. (btw, this machine will be a web > server, running apache and zope ) > > CPUTYPE=i686 Okay; if you only have one machine, and are ready to bootstrap your executables from a fresh install if you need to move to another, that's fine. > CFLAGS= -O -pipe This one's worthwhile; most people should use this setting. Probably the only setting worth worrying about for a typical user. > BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast > -Wcast-align \ > -Wcast-qual -Wchar-subscripts -Winline \ > -Wmissing-prototypes -Wnested-externs -Wpointer-arith > \ > -Wredundant-decls -Wshadow -Wstrict-prototypes > -Wwrite-strings You're not using this anyway, so don't bother re-setting it. > ENABLE_SUID_SSH= true Why? Unless you have a good reason, that's a bad idea. > NO_BIND= true # do not build BIND Probably not a great idea. Even if you're not running named, you're probably using resolver code from there. > NO_FORTRAN= true # do not build g77 and related libraries > NO_I4B= true # do not build isdn4bsd package > NO_SENDMAIL= true # do not build sendmail and related programs > NO_X= true # do not compile in XWindows support (e.g. > doscmd) > NOGAMES= true # do not build games (games/ subdir) > NOPROFILE= true # Avoid compiling profiled libraries > NOSHARE= true # do not go into the share subdir > NOUUCP= true # do not build uucp related programs You're saving yourself a small amount of build time, but that's all. Note that NOGAMES excludes some useful programs (not that primes(6), for example, has changed in a long time) and NOSHARE is inadvisable unless you really modify that stuff heavily by hand. I'd leave these at the defaults, because you (probably) already have the programs installed, so you may be better off with the latest versions. > NO_MAKEDEV= true This is the default anyway, no?