git: 16b3e8aedc0e - main - math/py-pytanque: Fix build after update to Python-3.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jun 2024 08:49:17 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=16b3e8aedc0e37e8fcaf015919614e942c02da4f
commit 16b3e8aedc0e37e8fcaf015919614e942c02da4f
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-06 08:48:27 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-06 08:49:02 +0000
math/py-pytanque: Fix build after update to Python-3.11
Reported by: fallout
---
math/py-pytanque/Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/math/py-pytanque/Makefile b/math/py-pytanque/Makefile
index 6f8f2076632c..fb00cd8944fc 100644
--- a/math/py-pytanque/Makefile
+++ b/math/py-pytanque/Makefile
@@ -12,7 +12,12 @@ LICENSE= BSD3CLAUSE
BROKEN_riscv64= ld: error: lto.tmp: cannot link object files with different floating-point ABI
-USES= compiler:c++14-lang python
+BUILD_DEPENDS= pybind11>0:devel/pybind11
+
+USES= compiler:c++14-lang localbase python
USE_PYTHON= distutils autoplist
+post-extract:
+ ${RM} -r ${WRKSRC}/third-party/pybind11
+
.include <bsd.port.mk>