From owner-freebsd-questions@FreeBSD.ORG Tue Oct 5 10:38:00 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 2664E16A4CE for ; Tue, 5 Oct 2004 10:38:00 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 393D143D58 for ; Tue, 5 Oct 2004 10:37:59 +0000 (GMT) (envelope-from Emanuel.Strobl@gmx.net) Received: (qmail 20400 invoked by uid 65534); 5 Oct 2004 10:37:58 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) (62.245.232.135) by mail.gmx.net (mp026) with SMTP; 05 Oct 2004 12:37:58 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: Matthew Seaman Date: Tue, 5 Oct 2004 12:37:50 +0200 User-Agent: KMail/1.7 References: <6FC9F9894A9F8C49A722CF9F2132FC2201FFC245@ms05.mailstreet2003.net> <200410051045.15454.Emanuel.Strobl@gmx.net> <20041005100007.GC9642@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20041005100007.GC9642@happy-idiot-talk.infracaninophile.co.uk> X-OS: FreeBSD X-Birthday: 10/06/72 X-Address: Munich, 80686 X-Tel: +49 89 18947781 X-CelPhone: +49 173 9967781 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart21096313.fdFZIyLKgK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200410051237.56653.Emanuel.Strobl@gmx.net> cc: "Haulmark, Chris" cc: freebsd-questions@freebsd.org Subject: Re: Release Compiler options 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: Tue, 05 Oct 2004 10:38:00 -0000 --nextPart21096313.fdFZIyLKgK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Dienstag, 5. Oktober 2004 12:00 schrieb Matthew Seaman: > On Tue, Oct 05, 2004 at 10:45:09AM +0200, Emanuel Strobl wrote: [...] > > > There is an excellent hint for compiler flags to be found in the > > > 19.4.3 section of the FreeBSD handbook. > > > > Hm, this is for the world and is very well known and documented. > > I'm talking about /usr/src/release/Makefile > > > > > The /usr/obj directory composes of the compiled applications from > > > the buildworld function. You can delete it after you did a successful > > > completion of the installworld on a system. That's what happens > > > when you do "make clean" in the /usr/src directory. > > > > Again, I'm not talking about make installworld, but 'make release' > > If you're using 'make release' you're expected to a) have your own > local copy of the FreeBSD src CVS repository and b) know how to use > cvs(1) and make(1). 'make release' is aimed at expert users; > beginners would be well advised to steer clear of it. > > What you do is edit the /usr/src/release/Makefile, specifically the > CHROOTDIR, BUILDNAME and CVSROOT it tells you to set. Or specify them > on the command line if you prefer. > > Then you setup the ${LOCAL_PATCHES} variable to point to a file of > patches to apply to the checked out chroot'ed source tree (hint: try > applying a patch to ${CHROOTDIR}/etc/make.conf to fiddle with the make Ok, so share/examples/etc/make.conf is not evaluated like=20 etc/defautls/make.conf was before? That's the point I guess. Thanks for your explanation, I've been building releases some years ago, so= =20 usually I'm quiet familar with cvs. Thanks, =2DHarry > flags). Similarly you can run a shell script ${LOCAL_SCRIPT} to do > whatever you want to the chroot'ed sources before building. > > Cheers, > > Matthew --nextPart21096313.fdFZIyLKgK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBYnmEBylq0S4AzzwRAh60AKCHtJBTb2cZRnaEftR6Vl3MA++e2wCfQO34 0vDyYCo9qsI/5nexRoPfC6g= =H/k5 -----END PGP SIGNATURE----- --nextPart21096313.fdFZIyLKgK--