git: 0378719b21c6 - main - multimedia/onevpl: respect PYTHON_DEFAULT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Feb 2022 11:08:34 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0378719b21c61d5a5d3dc8f31be7781fd7ff11ef
commit 0378719b21c61d5a5d3dc8f31be7781fd7ff11ef
Author: John Hein <jcfyecrayz@liamekaens.com>
AuthorDate: 2022-01-24 16:02:33 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-02-11 11:07:00 +0000
multimedia/onevpl: respect PYTHON_DEFAULT
$ pkg install python311
$ make -V PYTHON_DEFAULT
3.8
$ make clean all
[...]
-- Found Python3: /usr/local/bin/python3.11 (found version "3.11.0") found components: Interpreter Development Development.Module Development.Embed
[...]
CMake Warning:
Manually-specified variables were not used by the project:
[...]
Python_ADDITIONAL_VERSIONS
[...]
$ make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PYTHON_LIBDIR%%/pyvpl.cpython-311.so
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%PYTHON_LIBDIR%%/pyvpl%%PYTHON_EXT_SUFFIX%%.so
===> Error: Plist issues found.
*** Error code 1
PR: 261415
---
multimedia/onevpl/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/multimedia/onevpl/Makefile b/multimedia/onevpl/Makefile
index 4f6a92abe43f..1a16d08e06fc 100644
--- a/multimedia/onevpl/Makefile
+++ b/multimedia/onevpl/Makefile
@@ -30,6 +30,7 @@ OPTIONS_SUB= yes
PYTHON_USES= python
PYTHON_BUILD_DEPENDS= pybind11>0:devel/pybind11
PYTHON_CMAKE_BOOL= BUILD_PYTHON_BINDING
+PYTHON_CMAKE_ON= -DPython3_EXECUTABLE:FILEPATH="${PYTHON_CMD}"
post-patch:
@${REINPLACE_CMD} -e '/pkgconfig/s,FULL_LIBDIR},PREFIX}/libdata,' \