[Bug 261415] multimedia/onevpl: wrong python version used if newer python (than default) is installed ('make install' fails)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Jan 2022 16:02:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261415

John Hein <jcfyecrayz@liamekaens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |python@FreeBSD.org

--- Comment #1 from John Hein <jcfyecrayz@liamekaens.com> ---
Adding -DPython3_EXECUTABLE=${PYTHON_CMD} to CMAKE_ARGS seems to do the trick.

This might be considered a bug in the cmake support in Uses/python.mk
(Python_ADDITIONAL_VERSIONS did not seem to help - maybe because of changes
over the years to the "FindPython" infrastructure in cmake).  Maybe
Python3_EXECUTABLE should be added in python.mk

python@ CC'd for input.

-- 
You are receiving this mail because:
You are on the CC list for the bug.