From owner-freebsd-stable@FreeBSD.ORG Wed Nov 5 20:37:20 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 CC98F16A4CF for ; Wed, 5 Nov 2003 20:37:20 -0800 (PST) Received: from xyzzy.wireless.snsonline.net (dhcp.looksmart.com.au [210.9.52.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 344D243FAF for ; Wed, 5 Nov 2003 20:37:16 -0800 (PST) (envelope-from msergeant@snsonline.net) Received: from xyzzy.wireless.snsonline.net (localhost [127.0.0.1]) hA64b6i0067880; Thu, 6 Nov 2003 15:37:06 +1100 (EST) (envelope-from msergeant@snsonline.net) Received: (from msergeant@localhost)hA64b1E0067879; Thu, 6 Nov 2003 15:37:01 +1100 (EST) X-Authentication-Warning: xyzzy.wireless.snsonline.net: msergeant set sender to msergeant@snsonline.net using -f From: Mark Sergeant To: Rolandas Naujikas In-Reply-To: <20031106043254.GA770@rolnas> References: <16296.7308.973001.618090@rosebud.alerce.com> <20031106043254.GA770@rolnas> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ixBKK7NFCsvei7rSMsxy" Organization: SNSOnline Technical Services Message-Id: <1068093419.66506.288.camel@xyzzy.wireless.snsonline.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 06 Nov 2003 15:37:00 +1100 cc: stable@freebsd.org 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 04:37:21 -0000 --=-ixBKK7NFCsvei7rSMsxy Content-Type: text/plain Content-Transfer-Encoding: quoted-printable If you are using portupgrade then edit /usr/local/etc/pkgtools.conf and add something along the lines of ... 'www/mod_php4' =3D> 'WITH_BCMATH=3Dyes WITH_BZIP2=3Dyes WITH_CALENDAR=3Dyes= WI TH_CRACK=3Dyes WITH_CTYPE=3Dyes WITH_CURL=3Dyes WITH_DBASE=3Dyes WITH_FTP= =3Dyes WITH_GD=3Dye s WITH_GETTEXT=3Dyes WITH_ICONV=3Dyes WITH_IMAP=3Dyes WITH_MBSTRING=3Dyes WITH_MCAL=3Dyes=20 WITH_MCVE=3Dyes WITH_MCRYPT=3Dyes WITH_MHASH=3Dyes WITH_MIME=3Dyes WITH_MIN= G=3Dyes WITH_MY SQL=3Dyes WITH_OPENLDAP=3Dyes WITH_OPENSSL=3Dyes WITH_OVERLOAD=3Dyes WITH_PCRE=3Dyes WITH_ PDFLIB=3Dyes WITH_POSIX=3Dyes WITH_POSTGRESQL=3Dyes WITH_PSPELL=3Dyes WITH_SESSION=3Dyes W ITH_SHMOP=3Dyes WITH_SOCKETS=3Dyes WITH_SYSVSEM=3Dyes WITH_SYSVSHM=3Dyes WITH_TOKENIZER=3D yes WITH_XML=3Dyes WITH_XSLT=3Dyes WITH_ZIP=3Dyes WITH_ZLIB=3Dyes', in the MAKE_ARGS section. You can then install mod_php4 by doing portinstall mod_php4 which will pick up these args, portupgrade parses pkgtools.conf everytime it runs so on the next php upgrade these args will be used. Cheers, Mark On Thu, 2003-11-06 at 15:32, Rolandas Naujikas wrote: > You can put compilations options (variables) into /etc/make.conf. > I use /etc/make.conf without problems, conditionally within > .if ${.CURDIR:N*/ports/______} =3D=3D "" > .endif > /etc/make.conf is used by make before any other system makefile. >=20 > Rolandas Naujikas >=20 > On Tue, Nov 04, 2003 at 01:39:24PM -0800, George Hartzell wrote: > > Erick Mechler writes: > > > :: > How can I continually compile PHP with the same > > > :: > options as the last time? > > > ::=20 > > > :: Edit /usr/ports/lang/php4/Makefile and change the line > > > :: PHP4_OPTIONS?=3D according to your needs. > > >=20 > > > Except that the next time you upgrade your ports tree, your changes = will=20 > > > be overwritten. Check out the /usr/local/etc/pkgtools.conf file. T= his is=20 > > > how you can use your own make(1) options using portupgrade consisten= tly. =20 > > > The options you can use for each port can be found in its respective= =20 > > > Makefile. > >=20 > > Or, if the port is set up to respect Makefile.local, put the=20 > >=20 > > PHP4_OPTIONS?=3D according to your needs. > >=20 > > in there. Not all ports seem to get this right though, so check it > > before you trust it. > >=20 > > g. > >=20 > >=20 > > ------------------------------ > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --=20 Mark Sergeant SNSOnline Technical Services --=-ixBKK7NFCsvei7rSMsxy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/qc/qbS4ZEpHb8t0RAo/ZAJ9sSCYjp/S3rtyI1LOmYcHDZQqACgCeKzyw OfQKTbJqL3KdBg4qd65x9LY= =Sg46 -----END PGP SIGNATURE----- --=-ixBKK7NFCsvei7rSMsxy--