From owner-freebsd-ports@FreeBSD.ORG Wed Nov 5 07:00:50 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6650316A4CF for ; Wed, 5 Nov 2003 07:00:50 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B06C43FE9 for ; Wed, 5 Nov 2003 07:00:48 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hA5Exdwk018456 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Nov 2003 15:00:09 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hA5ExcYS018441; Wed, 5 Nov 2003 14:59:38 GMT (envelope-from matthew) Date: Wed, 5 Nov 2003 14:59:38 +0000 From: Matthew Seaman To: Stijn Hoop Message-ID: <20031105145938.GA18199@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Stijn Hoop , Chris Knight , freebsd-ports@freebsd.org 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline In-Reply-To: <20031105131407.GP80302@pcwin002.win.tue.nl> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,UPPERCASE_25_50 autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: Chris Knight cc: freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: mod_php4-4.3.3,1 MAKE_ARGS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 15:00:50 -0000 --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--