From owner-freebsd-ports@FreeBSD.ORG Wed Apr 2 17:43:06 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB26F37B401 for ; Wed, 2 Apr 2003 17:43:06 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1026C43F85 for ; Wed, 2 Apr 2003 17:43:05 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 8E12866B9B; Wed, 2 Apr 2003 17:43:02 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 6DF4112AB; Wed, 2 Apr 2003 17:43:02 -0800 (PST) Date: Wed, 2 Apr 2003 17:43:02 -0800 From: Kris Kennaway To: Andrew Sparrow Message-ID: <20030403014302.GC11467@rot13.obsecurity.org> References: <5.2.0.9.0.20030402135505.00a10ec0@127.0.0.1> <20030402081419.54AB4E2@CRWdog.demon.co.uk> <20030402201530.GB9496@rot13.obsecurity.org> <20030402221845.A66727@spadger.best.vwh.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7iMSBzlTiPOCCT2k" Content-Disposition: inline In-Reply-To: <20030402221845.A66727@spadger.best.vwh.net> User-Agent: Mutt/1.4i cc: freebsd-ports@freebsd.org cc: Kris Kennaway Subject: Re: Setting make options permanently (WITHOUT_GNOME, etc) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 01:43:07 -0000 --7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 02, 2003 at 10:18:45PM +0000, Andrew Sparrow wrote: > On Wed, Apr 02, 2003 at 12:15:30PM -0800, Kris Kennaway wrote: > > On Wed, Apr 02, 2003 at 12:14:19AM -0800, Andy Sparrow wrote: > >=20 > > > For some bizarre and inexplicable (at least to me) reason, everyone w= ho=20 > > > bikesheds around Yet Another Way to provide persistant build options = to=20 > > > ports completely ignores this extremely convenient, pre-existing and= =20 > > > perfectly functional mechanism. > >=20 > > One of the design features of the ports collection is that it can be > > used read-only, e.g. mounted read-only via NFS. >=20 > I know thanks. I frequently update/install ports (and/or worlds, > for that matter) on my firewall that were built on a faster machine. >=20 > Other than the fact it's a little difficult for the port you're > installing to create .install_done.${PORT} on a R/O FS, it seems to > work fine. That's what WRKDIRPREFIX is for. Of course, WRKDIR is not persistent because it is deleted whenever you do 'make clean'. > (and, IIRC, you may need to remove the .install_done file - from > the serving machine, naturally - otherwise make thinks it doesn't > need to do anything). >=20 > > Makefile.local cannot be used there. >=20 > I don't understand what you mean. The options in the file are used > to build the port. >=20 > If those options are not applicable to the machine on which you > install it, then that's as doomed an act on the user's part as > setting the CPU architecture to P4 on the building machine (e.g. > in make.conf) and then installing the resulting binaries on a 486. >=20 > Could you clarify your statement if I've misunderstood what you meant? I meant that for people using a RO ports tree, Makefile.local in the port directory is not an option. Given that this is a supported use of the ports collection, Makefile.local cannot be a general-purpose solution for storing local configuration state for the port. > > > If I want to use BS dialogs[0] to configure things, I'll install Linu= x=20 > > > or Slowaris, thanks very much. I *like* setting stuff once in text=20 > > > files, and I *like* unattended, automatic, recursive-with-my-local-op= tion > > > s ports upgrades[1] after my cvsup/build/installworlds. > >=20 > > Don't use it then..easy! >=20 > Some ports don't provide the ability to set build-time options > either via the Make command-line, make.conf, pkgconfig or > Makefile.local, they will instead implicitly start a dialog and > prompt the user to interact with them, halting the build. I was talking about my patches which replace the ad-hoc dialog configurators in some ports. They allow you to choose not to enter the configurator if you don't want to. Kris --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+i5GmWry0BWjoQKURAgLbAJ4gwzNYBrS5Qcry0si5oxWVYwfV2QCePHF/ S2n2P0v6AF6rbtNfCmZpCFA= =tzcy -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k--