From owner-freebsd-questions@FreeBSD.ORG Mon Jul 26 11:06:27 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 1D05716A4CE for ; Mon, 26 Jul 2004 11:06:27 +0000 (GMT) Received: from mail.themarshalls.co.uk (mail.themarshalls.co.uk [80.229.196.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 962C043D1D for ; Mon, 26 Jul 2004 11:06:26 +0000 (GMT) (envelope-from drew@themarshalls.co.uk) Received: from net.themarshalls.co.uk (femail.themarshalls.co.uk [192.168.7.3]) by mail.themarshalls.co.uk (Postfix) with ESMTP id F21732E82C; Mon, 26 Jul 2004 12:06:18 +0100 (BST) Received: from 194.70.180.170 (proxying for unknown) (SquirrelMail authenticated user drew); by net.themarshalls.co.uk with HTTP; Mon, 26 Jul 2004 12:05:58 +0100 (BST) Message-ID: <47759.194.70.180.170.1090839958.squirrel@194.70.180.170> In-Reply-To: <20040724232921.GC7816@happy-idiot-talk.infracaninophile.co.uk> References: <41022833.6090509@themarshalls.co.uk> <41022D4E.8040307@circlesquared.com> <20040724104531.GC91096@happy-idiot-talk.infracaninophile.co.uk> <4102BF57.1080308@themarshalls.co.uk> <20040724232921.GC7816@happy-idiot-talk.infracaninophile.co.uk> Date: Mon, 26 Jul 2004 12:05:58 +0100 (BST) From: "Drew Marshall" To: "Matthew Seaman" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-TheMarshalls-MailScanner-Information: Scanned by MailScanner in accordance with our mail policy see http://www.themarshalls.co.uk/policy X-TheMarshalls-MailScanner: Found to be clean 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: Mon, 26 Jul 2004 11:06:27 -0000 On Sun, July 25, 2004 0:29, Matthew Seaman said: > 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 >> Makefile or the README just to give poor stupid people like me a clue as >> to where to start looking. Ons further question that has come from my >> compilation of the php4-extension is that once you have made your >> selection the first time these options seem to be saved somewhere (The >> build process states found previous configuration or similar) where is >> this? I missed an option in my hurry this morning and now can't get back >> to the menu options (No matter how many make cleans, pkg_deletes etc I >> 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=yes 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 Thank you so much for your help, that's one of the things I love about Open Source, you never stop learning! Kind regards Drew -- In line with our policy, this message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. www.themarshalls.co.uk/policy