git: 198238af4544 - main - math/adol-c: Add build-time python dependency
Yuri Victorovich
yuri at FreeBSD.org
Thu Jul 22 19:15:05 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=198238af45447fc3a00918748a7fdfaece348686
commit 198238af45447fc3a00918748a7fdfaece348686
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-07-22 19:00:06 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-07-22 19:14:58 +0000
math/adol-c: Add build-time python dependency
Otherwise it was picking python-2.7 when it was installed.
PR: 257340
Reported by: alt2600 at icloud.com
---
math/adol-c/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/math/adol-c/Makefile b/math/adol-c/Makefile
index b1fa646f7ae3..9253500bb230 100644
--- a/math/adol-c/Makefile
+++ b/math/adol-c/Makefile
@@ -14,12 +14,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= libboost_system.so:devel/boost-libs
-USES= compiler:c++11-lang gmake libtool tar:tgz
+USES= compiler:c++11-lang gmake libtool python:3.7+,build tar:tgz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_SHELL= ${LOCALBASE}/bin/bash
+CONFIGURE_ENV= PYTHON=${PYTHON_CMD}
+
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= SPARSE # also uses AMPI, a seemingly obscure MPI implementation
More information about the dev-commits-ports-all
mailing list