From owner-freebsd-stable@FreeBSD.ORG Thu Nov 6 08:20:42 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81ED916A4CE for ; Thu, 6 Nov 2003 08:20:42 -0800 (PST) Received: from smtp2.surewest.net (smtp2.surewest.net [208.45.228.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 4975743FEC for ; Thu, 6 Nov 2003 08:20:41 -0800 (PST) (envelope-from dislists@updegrove.net) Received: (qmail 21951 invoked from network); 6 Nov 2003 16:20:40 -0000 Received: from unknown (HELO updegrove.net) (64.30.97.117) by smtp2.surewest.net with SMTP; 6 Nov 2003 16:20:40 -0000 Received: (qmail 64698 invoked from network); 6 Nov 2003 16:20:58 -0000 Received: from unknown (HELO updegrove.net) (192.168.0.2) by updegrove.net with SMTP; 6 Nov 2003 16:20:58 -0000 Message-ID: <3FAA7533.8020800@updegrove.net> Date: Thu, 06 Nov 2003 08:22:11 -0800 From: Rick Updegrove User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org References: <16296.7308.973001.618090@rosebud.alerce.com> <20031106043254.GA770@rolnas> <1068093419.66506.288.camel@xyzzy.wireless.snsonline.net> In-Reply-To: <1068093419.66506.288.camel@xyzzy.wireless.snsonline.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TST: smtp2 SNWK2 Subject: Re: portupgrade and PHP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 16:20:42 -0000 Kirk Strauser wrote: > OK, you've gotten several technically-correct-but-ungood answers. There's > a much better way to manage this port. Thank you everyone who replied. I already knew I could hack up the Makefile. The /usr/local/etc/pkgtools.conf is not very user friendly. I had read about this "new" way of doing it as I researched this further. Thanks again for the example. > Recent versions of lang/php4 read their configuration from > /root/php4-options. Here's an excerpt from mine: > > WITH_BCMATH=ON > WITH_BZIP2=ON > WITH_CURL=ON > WITH_GD=ON > WITH_GETTEXT=ON > WITH_ICONV=ON > WITH_IMAP=ON > WITH_MCAL=ON Do you happen to know where I can get the complete list? > When you begin the build, the port uses the contents of that file to set the > default menu options. Configure it once, note the choices you made in that > file, and you're done. Easy, huh? Yes. > At one point, the exact name of the options file was in flux, so I nailed it > down by setting: > > PHP4_OPTFILE= /root/php4_options > > in /etc/make.conf. This seems to be unnecessary now. Thanks again