Re: git: a46722b58056 - main - ncurses: register formw as usable lib for LIBADD

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Wed, 24 Nov 2021 12:49:30 UTC
On Wed, 24 Nov 2021, Bjoern A. Zeeb wrote:

> On Wed, 24 Nov 2021, Baptiste Daroussin wrote:
>
>> The branch main has been updated by bapt:
>> 
>> URL: 
>> https://cgit.FreeBSD.org/src/commit/?id=a46722b580567799b484b5a81728eaf380777e04
>> 
>> commit a46722b580567799b484b5a81728eaf380777e04
>> Author:     Baptiste Daroussin <bapt@FreeBSD.org>
>> AuthorDate: 2021-11-24 09:20:10 +0000
>> Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
>> CommitDate: 2021-11-24 10:02:22 +0000
>>
>>    ncurses: register formw as usable lib for LIBADD
>
> is LIBFORM to be LIBFORMW or do we need another new entry?
>
>   1393 make[7]: "share/mk/bsd.libnames.mk" line 190: lib/ncurses/form: 
> Missing value for LIBFORMW in bsd.libnames.mk.  Likely should be: LIBFORMW?= 
> ${LIBDESTDIR}${LIBDIR_BASE}/libformw.a


and later still:

    6315 ld: error: unable to find library -lformw
    6316 cc: error: linker command failed with exit code 1 (use -v to see invocation)
    6317 --- libprivatebsddialog.so.0.full ---
    6318 *** [libprivatebsddialog.so.0.full] Error code 1


@ 848ee2a3a8b47c9905fc51fefcf60eb371edbb98


>
>
>> ---
>> share/mk/src.libnames.mk | 2 ++
>> 1 file changed, 2 insertions(+)
>> 
>> diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk
>> index 7873d05d18da..6fee77357480 100644
>> --- a/share/mk/src.libnames.mk
>> +++ b/share/mk/src.libnames.mk
>> @@ -129,6 +129,7 @@ _LIBRARIES=	\
>> 		execinfo \
>> 		fetch \
>> 		figpar \
>> +		formw \
>> 		geom \
>> 		gpio \
>> 		gssapi \
>> @@ -381,6 +382,7 @@ _DP_stats=	sbuf pthread
>> _DP_stdthreads=	pthread
>> _DP_tacplus=	md
>> _DP_ncursesw=	tinfow
>> +_DP_formw=	ncursesw
>> _DP_nvpair=	spl
>> _DP_panelw=	ncursesw
>> _DP_rpcsec_gss=	gssapi
>> 
>
>

-- 
Bjoern A. Zeeb                                                     r15:7