Subject: Re: options.mk in buildlink files?
To: Geert Hendrickx <ghen@telenet.be>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 04/20/2006 13:58:17
On Thu, 20 Apr 2006, Geert Hendrickx wrote:

> This not what I mean.  I mean that your approach assumes that different
> packages use the same options.
>
> I could build cairo manually, with "PKG_OPTIONS.cairo=-glitz" on the
> command line.  When I would build pango at another time (and I forgot that
> I set -glitz when I built cairo), glitz will still be pulled in (unneeded,
> since, IIUC, none of both packages will be linked against glitz).

The PKG_BUILD_OPTIONS method -- which, mind you, I don't like either -- is
the established way to do it today.  Changing that method should be a
different task; what's at point here is specifically cairo vs. glitz.  :)

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>