Created attachment 219696 [details] Patch file This is an experimental module for libgit2 bindings to Emacs, intended to boost the performance of Magit (https://magit.vc/). This is required by upcoming devel/magit-devel port.
Created attachment 219739 [details] Updated patch file Use ninja instead of make to build libegit2.so. New patch depends on bug #251191. So please commit it before committing this patch.
Created attachment 220937 [details] Updated patch file Install libegit2.so to EMACS_VERSION_SITE_LISPDIR.
A commit references this bug: Author: jrm Date: Wed Jan 13 22:23:17 UTC 2021 New revision: 561516 URL: https://svnweb.freebsd.org/changeset/ports/561516 Log: New port, devel/libegit2: Emacs bindings for libgit2 PR: 251147 Submitted by: Yasuhiro Kimura <yasu@utahime.org> (maintainer) Changes: head/devel/Makefile head/devel/libegit2/ head/devel/libegit2/Makefile head/devel/libegit2/distinfo head/devel/libegit2/files/ head/devel/libegit2/files/patch-libgit.el head/devel/libegit2/files/patch-use-system-libgit2 head/devel/libegit2/pkg-descr head/devel/libegit2/pkg-plist
Thanks. Committed with a few tweaks. Let me know if there are any problems. - Follow 'Example 5.13. Using USE_GITHUB When Upstream Does Not Use Versions' - Follow 'Chapter 15. Order of Variables in Port Makefiles' with the help of linters (portlint, portclippy, portfmt) - Use cmake:noninja until bug #251191 is sorted out