Re: wrap check_sym in new check-lib-symbols target

2023-09-02 Thread A Tammy
On 9/2/23 09:46, Klemens Nanni wrote: > Porters updating shared libraries ought to check for changes and base's > check_sym script does that, but we have no tooling or integration for that. > > Here's a bare bones target we can extend in many ways, but for now: > - expect /usr/src/lib/check_sym t

Re: wrap check_sym in new check-lib-symbols target

2023-09-02 Thread Stuart Henderson
On 2023/09/02 13:46, Klemens Nanni wrote: > +_CHECK_SYM = /usr/src/lib/check_sym > +check-lib-symbols: > +.for _n _v in ${SHARED_LIBS} > + ${_PBUILD} ${_CHECK_SYM} {,${WRKINST}}${PREFIX}/lib/lib${_n}.so.${_v} > +.endfor note that libraries can be in subdirs too. fwiw here is the script I've b

wrap check_sym in new check-lib-symbols target

2023-09-02 Thread Klemens Nanni
Porters updating shared libraries ought to check for changes and base's check_sym script does that, but we have no tooling or integration for that. Here's a bare bones target we can extend in many ways, but for now: - expect /usr/src/lib/check_sym to exist - expect the port to be installed - expec