freebsd-ports/math/Imath
Matthias Andree d443494a71 math/Imath: ensure PYTHON build with /usr/bin/python[3] links
When /usr/bin/python[3] symlinks are present (which is nonstandard), the
FindPython logic inside cmake will grab it over $PREFIX/bin/python[3],
but still identify (by default) /usr/local/lib/... as the sitelib path,
but goof up when calculating the relative path in case of /usr/bin vs
/usr/local/bin mismatch.

Fix: Provide ${PYTHON_CMD} through the cmake Python_EXECUTABLE
variable to avoid any ambiguities and pin the right executable.

I believe it should be safe to NOT bump PORTREVISION,
but I will fetch far and err on the safe side and bump it, because that
is easier than researching all possible paths how and where
Python paths might find their way into the resulting package.

The detailed report by Seneca helped identify and solve this issue, so:
Thanks to:	Seneca Cunningham <seneca@vybenetworks.com>

PR:		263341
Reported by:	D'Arcy J.M. Cain <darcy@druid.net>
Reported by:	Seneca Cunningham <seneca@vybenetworks.com>
MFH:		2022Q3
2022-07-12 21:20:13 +02:00
..
distinfo math/Imath: bugfix/docfix update to v3.1.5 2022-03-30 22:47:31 +02:00
Makefile math/Imath: ensure PYTHON build with /usr/bin/python[3] links 2022-07-12 21:20:13 +02:00
pkg-descr
pkg-plist