Date: Wed, 5 Nov 2003 14:59:38 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Stijn Hoop <stijn@win.tue.nl> Cc: freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: mod_php4-4.3.3,1 MAKE_ARGS Message-ID: <20031105145938.GA18199@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20031105131407.GP80302@pcwin002.win.tue.nl> References: <20031105084059.GM80302@pcwin002.win.tue.nl> <037601c3a390$801eb4e0$030aa8c0@corp.eeasy.com.au> <20031105124653.GA17041@happy-idiot-talk.infracaninophile.co.uk> <20031105131407.GP80302@pcwin002.win.tue.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 05, 2003 at 02:14:07PM +0100, Stijn Hoop wrote: > On Wed, Nov 05, 2003 at 12:46:53PM +0000, Matthew Seaman wrote: > > On Wed, Nov 05, 2003 at 10:32:31PM +1100, Chris Knight wrote: > > > > [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Stijn Hoop > > > > The line that really doesn't work right now: > > > >=20 > > > > 'lang/php4' =3D> 'BATCH=3Dyes WITH_APACHE2=3Dyes=20 > > > > PHP4_OPTIONS=3D"BZIP2 CTYPE CURL DOMXML DOMXSLT FTP GD INIFILE=20 > > > > MCRYPT MHASH MIME MYSQL OPENSSL PCRE POSIX POSTGRESQL SESSION=20 > > > > SOCKETS XML XSLT ZLIB"', > > > >=20 > > > The only satisfactory way that I've managed to resolve this is move t= he > > > PHP_OPTIONS assigmment into /etc/make.conf. I also do this with Postf= ix and > > > any other ports that allow a make variable to be set with space separ= ated > > > values. If anyone has a solution that keeps it within pkgtools.conf, = then > > > I'd be most interested in knowing about it. > >=20 > > Like this? > >=20 > > 'www/mod_php4' =3D> 'WITH_APACHE2=3Dyes BATCH=3DYES WITH_BZIP2=3Dye= s WITH_CTYPE=3Dyes WITH_CURL=3Dyes WITH_GD=3Dyes WITH_MIME=3Dyes WITH_MYSQL= =3Dyes WITH_OPENSSL=3Dyes WITH_PCRE=3Dyes WITH_POSIX=3Dyes WITH_SESSION=3Dy= es WITH_SHMOP=3Dyes WITH_SOCKETS=3Dyes WITH_SYSVSEM=3Dyes WITH_SYSVSHM=3Dye= s WITH_TOKENIZER=3Dyes WITH_XML=3Dyes WITH_XMLRPC=3Dyes WITH_ZIP=3Dyes WITH= _ZLIB=3Dyes', >=20 > Yes, well, that was what I was doing too, but somehow my line doesn't wor= k. > See the thread above, the lang/php4 line above doesn't work. >=20 > Maybe the " quotes screw up? Yes, that seems to be the problem. Something about a "double quoted" string enclosed within a 'single quoted' one. I know that a few ruby revisions ago it used to be possible to say something like: 'foo/bar' =3D> 'WITH_BAZ=3D\"qux quux quuux\"' which would have the intended effect. On the other hand, I've also seen (and used) constructs like this: 'foo/bar' =3D> 'WITH_BAZ=3D\'\\\"qux\\\" \\\"quux\\\" \\\"quuux\\\"\'' (See for example http://freebsd.rambler.ru/bsdmail/freebsd-stable_2002/msg14258.html) Now, I seem to remember that at some point that sort of thing stopped working. One upshot of that was the PHP ports now have individual WITH_FOO, WITH_BAR ... variables that let you set any of the PHP_OPTIONS values individually, and without using any extra quote marks at all in pkgtools.conf, which is the point of what I was suggesting above. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/qRBadtESqEQa7a0RAkE0AJ4xSEqNFBCXomQyAMN0ODuRFEX94wCffKMw rxa8hFrJLdOAQ3D+pHDmvik= =hfce -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031105145938.GA18199>