tech-pkg archive

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

Re: hiding pkg-config



On Wed, Jul 13, 2022 at 10:53:41AM +0000, nia wrote:
> On Tue, Jul 12, 2022 at 12:46:00AM +0200, Thomas Klausner wrote:
> > Hi!
> > 
> > What's the best way to hide pkg-config by default?
> 
> Check out: pkgsrc/mk/tools/itstool.mk

Thanks for the pointer!

I've copied some code from there to the pkg-config tools handling.
 Thomas


> > We often have build breakage for new packages where the package was
> > not tested in a clean environment, and used an installed copy of
> > pkg-config.
> > 
> > I'd like to have a default pkg-config in the path (if pkg-config is
> > not in USE_TOOLS) that e.g. maps to 'false'. Does anyone know off-hand
> > what's the best way to do that is, or if there's a better way?
> > 
> > Thanks,
> >  Thomas


Home | Main Index | Thread Index | Old Index