Subject: Re: how to satisfy build requirement for
To: None <>
From: Joerg Sonnenberger <>
List: tech-pkg
Date: 07/15/2007 01:48:25
On Sun, Jul 15, 2007 at 01:43:11AM +0200, Klaus Heinz wrote:
> Joerg Sonnenberger wrote:
> > On Sat, Jul 14, 2007 at 06:23:33PM +0200, Klaus Heinz wrote:
> > >   BUILDLINK_DEPMETHOD.libXext= build
> > >   .include "../../x11/libXext/"
> > 
> > Just a question -- which package does so? I've stumpled over a bunch of
> I do not know where I saw this before. Until now I always included
> mk/ for X but this may not be correct anymore,
> hence the question whether the above is the recommended new way to
> depend on X (libraries). 

I meant specifically a build dependency of libXext, not including it in

> The package which made me ask the question is multimedia/dvdauthor.
> There is a test for some function in ImageMagick which fails because
> linking to libXext does not work. The program does not need X at run
> time.

Just check if it links against libX11. If it does, also add a direct
dependency on that. If not, just go on with above.