On Sat, 28 Aug 2021 at 09:04, Thomas Klausner <wiz%netbsd.org@localhost> wrote:
Hi!
I've just enabled python3 support in libpeas by default.
I hope this fixes the original problem, let me know!
Thomas
Not with python3.7, as it lacks python-3.7-embed.pc as follows:
# See: man pkg-config
prefix=/usr/pkg
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Python
Description: Embed Python into an application
Requires:
Version: 3.7
Libs.private: -lcrypt -lintl -lpthread -lutil -lm
Libs: -Wl,-R${libdir} -L${libdir} -lpython3.7
Cflags: -I${includedir}/python3.7
Later python versions do have the corresponding file and should work,
but I haven't tried them.
I was able to build the package by placing the above file in
work/.buildlinks/lib/pkgconfig and rebuilding in place (rm
work/.configure_done work/.build_done; rm -r
work/libpeas-1.26.0/output; make).