On Mon, Dec 04, 2017 at 04:06:45PM +0100, Christian Weisgerber wrote:
> Stuart Henderson:
> 
> > > Looks like WANTLIB needs an update, curses instead of ncursesw.  Could
> > > you please check that nothing went wrong in the configure step
> > 
> > This changed because of src/share/mk/bsd.lib.mk r1.92, we should probably
> > update it across all the ports tree otherwise the next time somebody does a
> > bulk WANTLIB sync, they're going to have a whole bunch of fun with that :)
> 
> WANTLIB is unmaintainable.
> 
> The curses thing is cosmetic, but every time some popular library
> changes its dependencies, the WANTLIB entries in hundreds of ports
> are outdated.  This happens all the time, so WANTLIB is permanently
> out of sync throughout the tree.
> 
> What exactly prevents @wantlib from being automatically generated
> by pkg_create?
> 
> Currently we build the port, run lib-port-depends-check, and edit
> the WANTLIB variable in the Makefile to match the output.  That's
> already semi-automated.  (Alas, the Makefile format doesn't lend
> itself to automated editing.  I'm beginning to understand why some
> people use XML for such things.)
> 
> I understand that some ports have, exceptionally, for various
> reasons, additional WANTLIB entries that aren't provided by
> lib-port-depends-check.  That's what WANTLIB could be used for.
> 
> It's time to face it: The manual maintenance of WANTLIB simply
> doesn't work.

Having wantlib lagging slightly behind  is not a huge problem.

Doing it automatically is not possible right now.  Everything will break.
mainly because packages with different wantlibs are not comparable, so you
can't know which one is the newest.

Adding wantlibs is not a big issue. Removing wantlibs is. 

A bump would be needed.

At least.

Reply via email to