Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2004 21:11:44 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Glenn Sieb <ges@wingfoot.org>
Cc:        questions@freebsd.org
Subject:   Re: php4-* n00b queries...
Message-ID:  <20041016201144.GA47484@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <41717D02.2010508@wingfoot.org>
References:  <41717D02.2010508@wingfoot.org>

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

--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 16, 2004 at 03:56:50PM -0400, Glenn Sieb wrote:
> (oops--I sent this to ports@ should have been here...sorry 'bout that!)
>=20
> Ok.. I'm getting used to the new modular php#-* packages.
>=20
> I would like to streamline this even further by including the proper
> entries in pkgtools.conf for portupgrade.
>=20
> So, for instance.. when it's upgrading, say databases/php4-dba, I'd
> like to have it just take the defaults of cdb, inifile and flatfile.
>=20
> Do I put this in the MAKE_ARGS section of pkgtools.conf?
>=20
> ~          'databases/php4-dba' =3D> 'CDB=3D1 INIFILE=3D1 FLATFILE=3D1',
>=20
> I just want to check this against the ports-gurus on here. :)

Close.  What you need is actually something more like:

    'databases/php4-dba' =3D> [ 'WITH_CDB=3Dtrue',
                              'WITHOUT_DB4=3Dtrue',
                              'WITHOUT_GDBM=3Dtrue',
                              'WITH_INIFILE=3Dtrue',
                              'WITH_FLATFILE=3Dtrue', ],

Although since those variables are defined for you via the OPTIONS
mechanism (ie. you get one of those pop-up menus) you can
alternatively just run 'make config' in the databases/php4-dba
directory, and the values you choose will be remembered for you
whenever you update that port.  However, that's just another option
and setting stuff in pkgtools.conf should do the trick equally well.

	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

--h31gzZEtNLTqOjlF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBcYCAiD657aJF7eIRAn6FAJwJlCz6Was8TkVch06FYf4jaqbSRwCfRnK1
6GNcg8t8iUBGf8ipVTYGqW8=
=Kydd
-----END PGP SIGNATURE-----

--h31gzZEtNLTqOjlF--



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