Bug 256704

Summary: devel/jsonnet: Update to 0.17.0
Product: Ports & Packages Reporter: Pavel Timofeev <timp87>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Only Me CC: gasol.wu, lwhsu
Priority: --- Keywords: needs-qa
Version: LatestFlags: gasol.wu: maintainer-feedback+
Hardware: Any   
OS: Any   
URL: https://github.com/google/jsonnet/releases/tag/v0.17.0
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256705
Attachments:
Description Flags
port patch
none
port patch w/ cmake none

Description Pavel Timofeev 2021-06-19 02:29:39 UTC
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
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2021-06-19 23:44:46 UTC
(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`.
Comment 2 Pavel Timofeev 2021-06-20 13:57:59 UTC
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
Comment 3 Pavel Timofeev 2021-06-20 13:58:55 UTC
(In reply to Li-Wen Hsu from comment #1)
Done! Thank you
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-06-20 17:47:15 UTC
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(-)