Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2008 09:10:33 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Mel <fbsd.questions@rachie.is-a-geek.net>
Cc:        "B. Cook" <bcook@poughkeepsieschools.org>, freebsd-questions@freebsd.org
Subject:   Re: ports-mgmt/portmaster question
Message-ID:  <49574289.4070902@infracaninophile.co.uk>
In-Reply-To: <49573C0D.7030405@infracaninophile.co.uk>
References:  <49522444.8080409@poughkeepsieschools.org>	<49522C7B.1070101@infracaninophile.co.uk>	<200812271448.53240.fbsd.questions@rachie.is-a-geek.net> <49573C0D.7030405@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8CAD6226B11CAEB3C5778E7B
Content-Type: text/plain; charset=ISO-8859-6; format=flowed
Content-Transfer-Encoding: quoted-printable

Matthew Seaman wrote:
> Mel wrote:
>> On Wednesday 24 December 2008 03:35:07 Matthew Seaman wrote:
>>> B. Cook wrote:
>>>> Is there a way to pass make args (other than -m) for each port?
>>>>
>>
>> ...
>>
>>> If you want options that only apply to specific ports, then you can u=
se
>>> a construct like this:
>>>
>>> .if ${.CURDIR:M*/databases/mysql*}
>>> WITH_CHARSET=3Dutf8
>>> WITH_XCHARSET=3Dnone
>>> WITH_COLLATION=3Dutf8_unicode_ci
>>> WITH_OPENSSL=3Dyes
>>> BUILD_OPTIMIZED=3Dyes
>>> WITH_INNODB=3Dyes
>>> WITH_ARCHIVE=3Dyes
>>> WITH_FEDERATED=3Dyes
>>> WITH_NDB=3Dyes
>>> WITH_CSV=3Dyes
>>> WITH_SPHINXSE=3Dyes
>>> .endif
>>
>> Or, so you don't have one blobby make.conf that needs to be read for=20
>> everything that uses FreeBSD's make, you can make a file called=20
>> Makefile.local in the port's directory and set these.
>> There are only a few special cases in which this won't work, because=20
>> it is included at "the bottom of the port's Makefile", but then you=20
>> can resort to /etc/make.conf.
>>
>=20
> Yep.  That's true.  Unfortunately though if you use freebsd-update to=20

Ooops                                                 portsnap

> update your ports tree it will blow away any additional files like=20
> that.  csup(1) users will not have that problem.
>=20
>     Cheers,
>=20
>     Matthew
>=20


--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


--------------enig8CAD6226B11CAEB3C5778E7B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAklXQpQACgkQ8Mjk52CukIxorgCfdxNAgj6BTb0l4q5WHCoIPGu1
MHQAoIQUiJORbyOJns16b8mXqD1mG+Eo
=EN3n
-----END PGP SIGNATURE-----

--------------enig8CAD6226B11CAEB3C5778E7B--



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