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

[-- Attachment #1 --]
If you are using portupgrade then  edit /usr/local/etc/pkgtools.conf and
add something along the lines of ...

'www/mod_php4' => 'WITH_BCMATH=yes WITH_BZIP2=yes WITH_CALENDAR=yes WI
TH_CRACK=yes WITH_CTYPE=yes WITH_CURL=yes WITH_DBASE=yes WITH_FTP=yes
WITH_GD=ye
s WITH_GETTEXT=yes WITH_ICONV=yes WITH_IMAP=yes WITH_MBSTRING=yes
WITH_MCAL=yes 
WITH_MCVE=yes WITH_MCRYPT=yes WITH_MHASH=yes WITH_MIME=yes WITH_MING=yes
WITH_MY
SQL=yes WITH_OPENLDAP=yes WITH_OPENSSL=yes WITH_OVERLOAD=yes
WITH_PCRE=yes WITH_
PDFLIB=yes WITH_POSIX=yes WITH_POSTGRESQL=yes WITH_PSPELL=yes
WITH_SESSION=yes W
ITH_SHMOP=yes WITH_SOCKETS=yes WITH_SYSVSEM=yes WITH_SYSVSHM=yes
WITH_TOKENIZER=
yes WITH_XML=yes WITH_XSLT=yes WITH_ZIP=yes WITH_ZLIB=yes',

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/______} == ""
> .endif
> /etc/make.conf is used by make before any other system makefile.
> 
> Rolandas Naujikas
> 
> 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?
> >  > :: 
> >  > :: Edit /usr/ports/lang/php4/Makefile and change the line
> >  > :: PHP4_OPTIONS?= according to your needs.
> >  > 
> >  > Except that the next time you upgrade your ports tree, your changes will 
> >  > be overwritten.  Check out the /usr/local/etc/pkgtools.conf file.  This is 
> >  > how you can use your own make(1) options using portupgrade consistently.  
> >  > The options you can use for each port can be found in its respective 
> >  > Makefile.
> > 
> > Or, if the port is set up to respect Makefile.local, put the 
> > 
> > PHP4_OPTIONS?= according to your needs.
> > 
> > in there.  Not all ports seem to get this right though, so check it
> > before you trust it.
> > 
> > g.
> > 
> > 
> > ------------------------------
> _______________________________________________
> 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"
-- 
Mark Sergeant <msergeant@snsonline.net>
SNSOnline Technical Services

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/qc/qbS4ZEpHb8t0RAo/ZAJ9sSCYjp/S3rtyI1LOmYcHDZQqACgCeKzyw
OfQKTbJqL3KdBg4qd65x9LY=
=Sg46
-----END PGP SIGNATURE-----

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