Date: Thu, 06 Nov 2003 09:18:21 -0600 From: Kirk Strauser <kirk@strauser.com> To: freebsd-stable@freebsd.org Subject: Re: portupgrade and PHP Message-ID: <874qxhjzk2.fsf@strauser.com> In-Reply-To: <3FA6A459.2060904@updegrove.net> (Rick Updegrove's message of "Mon, 03 Nov 2003 10:54:17 -0800") References: <3FA6A459.2060904@updegrove.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= Content-Transfer-Encoding: quoted-printable At 2003-11-03T18:54:17Z, Rick Updegrove <dislists@updegrove.net> writes: > Hello, > > When I run portupgrade -ra and PHP needs upgrading I am faced with having > to select all the options I want PHP compiled with (again). I hate this. > > How can I continually compile PHP with the same options as the last time? OK, you've gotten several technically-correct-but-ungood answers. There's a much better way to manage this port. Recent versions of lang/php4 read their configuration from /root/php4-options. Here's an excerpt from mine: WITH_BCMATH=3DON WITH_BZIP2=3DON WITH_CURL=3DON WITH_GD=3DON WITH_GETTEXT=3DON WITH_ICONV=3DON WITH_IMAP=3DON WITH_MCAL=3DON 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? At one point, the exact name of the options file was in flux, so I nailed it down by setting: PHP4_OPTFILE=3D /root/php4_options in /etc/make.conf. This seems to be unnecessary now. =2D-=20 Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/qmZC5sRg+Y0CpvERAj9bAJ9MVR01jDB3HAwSL14VVegIkKEbngCfWOgx +S9H2Bn956JfWRXzsJ7DBl8= =T4Ah -----END PGP SIGNATURE----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874qxhjzk2.fsf>