m.seaman at infracaninophile.co.uk
Wed Dec 24 12:35:21 UTC 2008
B. Cook wrote:
> Is there a way to pass make args (other than -m) for each port?
> For example if I use -m BUILD_STATIC=YES and -m BUILD_OPTIMIZED=YES for
> mysql50-server.. other than remembering that I did that.. is there
> someway to have portmaster read its portmaster.rc and get that information?
Yes. Actually, it's not portmaster specific -- it works for any method of
using ports. Just edit /etc/make.conf to include the options you want.
If you want options that only apply to specific ports, then you can use
a construct like this:
If editing /etc/make.conf gives you too much grief, then look at the
ports-mgmt/portconf tool -- it works the same way (ie. by setting
variables in the make system) but has a user interface that attempts
to be a bit more friendly.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081224/aa373c8e/signature.pgp
More information about the freebsd-questions