Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2021 19:15:05 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 198238af4544 - main - math/adol-c: Add build-time python dependency
Message-ID:  <202107221915.16MJF5tU052861@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=198238af45447fc3a00918748a7fdfaece348686

commit 198238af45447fc3a00918748a7fdfaece348686
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-07-22 19:00:06 +0000
Commit:     Yuri Victorovich <yuri@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@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



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