Bug 263690

Summary: devel/oniguruma: Tidy up port and switch to release archive
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (yuri)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch for oniguruma
none
Patch for oniguruma v2 none

Description Daniel Engberg freebsd_committer freebsd_triage 2022-04-30 18:47:55 UTC
Created attachment 233614 [details]
Patch for oniguruma

Switch to using upstream release archive
Backport upstream commmit 1f322c45aa365d377e1d7db567bb7087c7c1b38c to fix build issue with examples
Switch to CMake which builds faster and tidies up ports Makefile, unfortunately test suite isn't connected to CMake yet
Remove non working STATISTICS toggle

References:
https://github.com/kkos/oniguruma/issues/254
https://github.com/kkos/oniguruma/issues/256

Compile tested on FreeBSD 13.1-STABLE #0 stable/13-n250098-4081882c415 (amd64) (make, make check-plist)
Poudriere testport OK 12.3-RELEASE (amd64)
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2022-04-30 18:49:52 UTC
Created attachment 233615 [details]
Patch for oniguruma v2

Fix typo
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-04-30 19:15:33 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9a245d16f59f11a4f4afdf754062af57a91e8702

commit 9a245d16f59f11a4f4afdf754062af57a91e8702
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-04-30 19:14:27 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-04-30 19:14:27 +0000

    devel/oniguruma: Switch to release archive, tidy up port, install cmake files

    PR:             263690

 devel/oniguruma/Makefile  | 39 ++++++++++++++++-----------------------
 devel/oniguruma/distinfo  |  8 +++++---
 devel/oniguruma/pkg-plist |  4 ++++
 3 files changed, 25 insertions(+), 26 deletions(-)
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2022-04-30 19:15:51 UTC
Committed.

Thanks for the patch!