git: 55c0a36fe7b0 - main - math/py-contourpy: unbreak build with non-default python (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Oct 2023 07:15:15 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=55c0a36fe7b0034cfbeaaa6ea231f92392fe1b54
commit 55c0a36fe7b0034cfbeaaa6ea231f92392fe1b54
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-10-11 07:13:40 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-10-11 07:14:07 +0000
math/py-contourpy: unbreak build with non-default python (+)
Countourpy fails to find versioned pybind11-config which leads to configure error
pybind11-config found: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency pybind11 found: NO (tried pkgconfig and config-tool)
../meson.build:23:15: ERROR: Dependency "pybind11" not found, tried pkgconfig and config-tool
Fix it by providing BINARY_ALIAS
Reported by: poudriere failure
Approved by: portmgr blanket
---
math/py-contourpy/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/math/py-contourpy/Makefile b/math/py-contourpy/Makefile
index 8e7f5ec3ee66..27aa74162dd3 100644
--- a/math/py-contourpy/Makefile
+++ b/math/py-contourpy/Makefile
@@ -20,4 +20,6 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVO
USES= pkgconfig python
USE_PYTHON= autoplist concurrent pep517 pytest
+BINARY_ALIAS= pybind11-config=pybind11-config-${PYTHON_VER}
+
.include <bsd.port.mk>