Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Nov 2003 15:37:00 +1100
From:      Mark Sergeant <msergeant@snsonline.net>
To:        Rolandas Naujikas <rolnas@takas.lt>
Cc:        stable@freebsd.org
Subject:   Re: portupgrade and PHP
Message-ID:  <1068093419.66506.288.camel@xyzzy.wireless.snsonline.net>
In-Reply-To: <20031106043254.GA770@rolnas>
References:  <16296.7308.973001.618090@rosebud.alerce.com> <20031106043254.GA770@rolnas>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <msergeant@snsonline.net>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1068093419.66506.288.camel>