Subject: Re: in buildlink files?
To: Christian Hattemer <>
From: Todd Vierling <>
List: tech-pkg
Date: 04/19/2006 13:11:38
On Wed, 19 Apr 2006, Christian Hattemer wrote:

> it annoys me that cairo builds glitz, which isn't really necessary to use it
> with gtk. So I added cairo an option to disable glitz. This works fine when
> doing cd pkgsrc/graphics/cairo && make.
> However when another pkg, e.g. pango, builds on cairo it will pull in glitz
> from cairo's and build it anyway. If I remove the line that
> includes the glitz buildlink in cairo's it's fine. But it has
> to be done conditionally since it will break when the option is turned on
> and cairo is built with glitz again.

Do dependencies of cairo *actually* break when built without the line in
cairo/  (The point here is that if cairo hides the glitz API
from cairo's dependents, then the dependents don't need the .include in

> It seems this isn't the right way to go. How is it done?

See graphics/aalib/ for an example.

-- Todd Vierling <> <> <>