Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2023 07:15:15 GMT
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 55c0a36fe7b0 - main - math/py-contourpy: unbreak build with non-default python (+)
Message-ID:  <202310110715.39B7FF1P069787@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310110715.39B7FF1P069787>