Skip to content

Commit

Permalink
math/py-contourpy: unbreak build with non-default python (+)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fluffykhv committed Oct 11, 2023
1 parent 5313460 commit 55c0a36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions math/py-contourpy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 55c0a36

Please sign in to comment.