Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Sep 2023 17:22:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 262109] Mk/Uses/python.mk: Improve CMake/Python integration
Message-ID:  <bug-262109-7788-eqooEN92Cr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262109-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262109-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262109

--- Comment #20 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3Daa9736e3e5f6856f5eb5e26837169b0=
f6022eec8

commit aa9736e3e5f6856f5eb5e26837169b0f6022eec8
Author:     John Hein <jcfyecrayz@liamekaens.com>
AuthorDate: 2023-09-04 16:23:06 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-09-04 17:21:35 +0000

    python.mk: Improve CMake/Python integration

    Suport FindPython.cmake, FindPython3.cmake, FindPython2.cmake modules by
    adding Python{,2,3}_EXECUTABLE to CMAKE_ARGS in python.mk.

    CMake supports more than one way to search for python.  Currently
    python.mk passes -DPython_ADDITIONAL_VERSIONS=3D${PYTHON_VER} to help
    FindPython{Interp,Libs}.cmake modules "find" the version of python that
    a port build wants to use.

    The FindPython{,2,3}.cmake modules don't know anything about
    Python_ADDITIONAL_VERSIONS but use Python{,2,3}_EXECUTABLE as the hint.

    PR:             262109

 Mk/Uses/python.mk | 2 ++
 1 file changed, 2 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262109-7788-eqooEN92Cr>