Subject: Re: CVS commit: pkgsrc/x11/Xrender
To: None <pkgsrc-changes@netbsd.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: pkgsrc-changes
Date: 10/09/2005 17:32:37
On 10/9/05, Joerg Sonnenberger <joerg@britannica.bec.de> wrote:
> On Fri, Oct 07, 2005 at 07:40:11PM +0000, Julio M. Merino Vidal wrote:
> >
> > Module Name:  pkgsrc
> > Committed By: jmmv
> > Date:         Fri Oct  7 19:40:11 UTC 2005
> >
> > Modified Files:
> >       pkgsrc/x11/Xrender: builtin.mk
> >
> > Log Message:
> > When using the Xrender builtin, generate a fake pkg-config file in the
> > buildlink directory (or use the one provided by the X11 installation, i=
f
> > any) so that packages needing this file can use it.  Should fix build
> > problems of applications using cairo (whose cairo.pc file needs xrender=
.pc).
> > Reported in tech-pkg@ by Ian Zagorskih.
> >
> > Note that this solution is suboptimal, although we are already using it
> > in xextensions.  If someone wants to use, e.g., cairo outside pkgsrc, h=
e
> > won't be able to because its .pc file won't be able to find xrender.pc.=
..
>
> This broke the build of x11/wxGTK24 for me. Maybe the test for existance
> has to be moved into the actual rule?

That could fix it, but how to do the BUILDLINK_FILES.Xrender part then?

What bothers me is that this same thing seems to be working in xextensions.
--
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/