The port emulators/tic-80 uses the quickjs library for javascript bindings. However, lang/quickjs only provides static libraries. Please adapt the port to produce a shared library so others can link with it.
I asked the upstream to create shared libraries, but I'll also patch the port to change to shared libraries in the mean time.
Change port to build shared libs. Thanks for your request, Yuri
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f8471874612278840b3db3076f3982cf5e259cc3 commit f8471874612278840b3db3076f3982cf5e259cc3 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-10-24 00:23:21 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-10-24 00:34:53 +0000 lang/quickjs: Build shared libraries PR: 274681 Reported by: Robert Clausecker <fuz@FreeBSD.org> emulators/tic-80/Makefile | 5 +-- lang/quickjs/Makefile | 4 ++ lang/quickjs/files/patch-Makefile (new) | 71 +++++++++++++++++++++++++++++++++ lang/quickjs/files/patch-qjsc.c (new) | 11 +++++ lang/quickjs/pkg-plist | 2 +- www/edbrowse/Makefile | 4 +- www/edbrowse/files/patch-src_makefile | 2 +- 7 files changed, 92 insertions(+), 7 deletions(-)
Thank you for the quick response. Much appreciated.