pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysutils/grub2 fails to build



* On 2018-11-25 at 15:39 GMT, maya%netbsd.org@localhost wrote:

> On Fri, Nov 23, 2018 at 05:02:20PM +0100, Leonardo Taccari wrote:
> > Hello triaxx,
> > 
> > triaxx writes:
> > > Seen in config.log:
> > > pkg-config: not found
> > >
> > > It succesfully builds with:
> > > > BUILD_DEPENDS+=               pkg-config-[0-9]*:../../devel/pkg-config
> > >
> > > I commit.
> > >
> > 
> > Usually pkg-config (tool) dependency is added via
> > `USE_TOOLS+= pkg-config', not directly via BUILD_DEPENDS.
> > Is it intended or can USE_TOOLS be used instead?
> > (If there is any reason why BUILD_DEPENDS is needed please
> > add a big `XXX:' comments about that! :))
> > 
> > 
> > Thank you!
> 
> we have pkgconf, not pkg-config, so it might care about some
> difference between the two

The problem there is that they conflict, so for a start this will
never work in a normal pkgsrc environment where you have a bunch of
packages already installed, only in bulk builds where everything is
removed before building, and then if and only if none of the other
dependencies happen to have USE_TOOLS+=pkg-config.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index