Download raw body.
ncurses: more pkg-config files?
On Thu, Jan 29, 2026 at 03:28:09PM +0000, Stuart Henderson wrote: > On 2026/01/28 17:18, Theo Buehler wrote: > > On Tue, Jan 27, 2026 at 10:36:51AM +0000, Stuart Henderson wrote: > > > For 7.7 I added a pkg-config file for curses (ncurses.pc) because some > > > ports were not picking it up correctly (notably Python). > > > > > > I've now run into a problem where some Python functions are disabled > > > because it thinks we don't have ncursesw so I'd like to add at least > > > a pkg-config file for that. > > > > > > A build of ncurses from the normal upstream distribution also gives > > > pkg-config files for the other libraries (form/formw, menu/menuw, > > > panel/panelw) as well as those for the libraries that we don't > > > provide - ncurses++/ncurses++w, tic, tinfo. > > > > > > I'm wondering whether it would just make sense to add the .pc file > > > that I've identified a need for, or proactively do the others as well. > > > Any thoughts? > > > > I can't think of a downside to install them all, except possibly a bit > > of ports churn when we add them. They're tiny, easy to maintain and > > might well save some easily avoidable headache down the road (similar > > to the cplay case below). > > fwiw, from nearly a full i386 bulk (the wrapper script I used for > instrumentation interfered with a few ports but those aren't using > curses anyway, and it's unlikely that ports blocked by those would > either), the only place menuw/panelw show up is sysutils/crust (in > kconfig), formw doesn't show up at all. > > here's the complete src diff I'd like to commit. > > ok? ok tb > (I'll also bump REVISIONs for the 30-odd ports which have a pkg-config > check for ncursesw and regen PLIST/WANTLIB for vlc, which builds a new > binary and plugin, but will wait a few days before doing that). makes sense.
ncurses: more pkg-config files?