From owner-freebsd-questions@FreeBSD.ORG Sat Jul 24 23:29:30 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 0C1DF16A4CE for ; Sat, 24 Jul 2004 23:29:30 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 408D843D2D for ; Sat, 24 Jul 2004 23:29:29 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i6ONTLRN008421 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Jul 2004 00:29:21 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i6ONTL7f008420; Sun, 25 Jul 2004 00:29:21 +0100 (BST) (envelope-from matthew) Date: Sun, 25 Jul 2004 00:29:21 +0100 From: Matthew Seaman To: Drew Marshall Message-ID: <20040724232921.GC7816@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Drew Marshall , Peter Risdon , freebsd-questions@freebsd.org References: <41022833.6090509@themarshalls.co.uk> <41022D4E.8040307@circlesquared.com> <20040724104531.GC91096@happy-idiot-talk.infracaninophile.co.uk> <4102BF57.1080308@themarshalls.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p2kqVDKq5asng8Dg" Content-Disposition: inline In-Reply-To: <4102BF57.1080308@themarshalls.co.uk> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Sun, 25 Jul 2004 00:29:22 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: Peter Risdon cc: freebsd-questions@freebsd.org Subject: Re: Installing php4 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: Sat, 24 Jul 2004 23:29:30 -0000 --p2kqVDKq5asng8Dg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 24, 2004 at 08:58:15PM +0100, Drew Marshall wrote: > I understand the logic but I would have thought a line somewhere in=20 > Makefile or the README just to give poor stupid people like me a clue as= =20 > to where to start looking. Ons further question that has come from my=20 > compilation of the php4-extension is that once you have made your=20 > selection the first time these options seem to be saved somewhere (The=20 > build process states found previous configuration or similar) where is=20 > this? I missed an option in my hurry this morning and now can't get back= =20 > to the menu options (No matter how many make cleans, pkg_deletes etc I=20 > do) to re-set or add the options. the lang/php?-extensions ports just use the standard OPTIONS mechanism that a large number of other ports use. To modify a previously setup configuration, just do: # make reconfig The configuration data is stored as a file /var/db/ports/{foo}/options where {foo} is the LATEST_LINK name for the port -- ie the same name as the package installed by the port, but with any version numbers split off. It can be different though. In order to return any particular port to the pristene never configured state, simply delete the appropriate {foo} directory from /var/db/ports. you can do that by: # make rmconfig In order to prevent the options dialog ever coming up (eg. when you've supplied your own settings via portupgrade's MAKE_ARGS array), add BATCH=3Dyes either in the environment or to the make argument list (the MAKE_ARGS array is probably the handiest way of doing that). All of these things are discussed in the ports(7) man page. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --p2kqVDKq5asng8Dg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBAvDRiD657aJF7eIRAsWxAJ0cApG+7soJhXZz+pkgJ+fdaoD3yQCcDFqL U1R9+VbgLwaUVVNCqS0q478= =SogB -----END PGP SIGNATURE----- --p2kqVDKq5asng8Dg--