maintainer-approval requested: [Bug 262109] Mk/Uses/python.mk: Improve CMake/Python integration : [Attachment 238988] [patch] suport FindPython.cmake, FindPython3.cmake, FindPython2.cmake modules (v2)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 23 Dec 2022 18:24:45 UTC
John Hein <jcfyecrayz@liamekaens.com> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-approval:
Bug 262109: Mk/Uses/python.mk: Improve CMake/Python integration
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262109

Attachment 238988: [patch] suport FindPython.cmake, FindPython3.cmake,
FindPython2.cmake modules (v2)
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238988&action=edit



--- Comment #13 from John Hein <jcfyecrayz@liamekaens.com> ---
Created attachment 238988
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238988&action=edit
[patch] suport FindPython.cmake, FindPython3.cmake, FindPython2.cmake modules
(v2)

Update with lwhsu@ version from comment 6.

I've been using this with success locally now for 9-10 months.

'make -C graphics/libjxl build' is still broken (in the conditions described in
comment 0) without it.	The commit to onevpl to work around this issue can be
removed after this is committed.  I don't know if there are others (or I have
forgotten them), but I would not be surprised if so.