Created attachment 225917 [details] port patch - update devel/jsonnet to 0.17.0 - remove some CXXFLAGS flags already presented in distro's Makefiles - Add c++ lib and header - Use DISTVERSION instead of PORTVERSION as advised by porter's handbook
(In reply to timp87 from comment #0) Thanks for the patch. If possible, please set your name at https://bugs.freebsd.org/bugzilla/userprefs.cgi?tab=account for letting us putting it to `git commit --author`.
Created attachment 225947 [details] port patch w/ cmake - update devel/jsonnet to 0.17.0 - use cmake to build - add c++ lib and header, and static libs - use DISTVERSION instead of PORTVERSION as advised by porter's handbook - remove USE_CXXSTD and CXXFLAGS which seem unnecessary
(In reply to Li-Wen Hsu from comment #1) Done! Thank you
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e2f5177e278716902cfcc8ef5896661243f82fd commit 4e2f5177e278716902cfcc8ef5896661243f82fd Author: Pavel Timofeev <timp87@gmail.com> AuthorDate: 2021-06-20 17:43:19 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2021-06-20 17:43:19 +0000 devel/jsonnet: Update to 0.17.0 - Use cmake to build - Add c++ lib and header, and static libs - Use DISTVERSION instead of PORTVERSION as advised by porter's handbook - Remove USE_CXXSTD and CXXFLAGS which seem unnecessary PR: 256704 Approved by: Gasol Wu <gasol.wu@gmail.com> (maintainer) devel/jsonnet/Makefile | 19 +++++++------------ devel/jsonnet/distinfo | 6 +++--- devel/jsonnet/files/patch-core_vm.cpp (new) | 11 +++++++++++ devel/jsonnet/pkg-plist (new) | 13 +++++++++++++ 4 files changed, 34 insertions(+), 15 deletions(-)