Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2022 04:35:36 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: e4fe11f8366f - main - science/pcmsolver: Small fixes
Message-ID:  <202205210435.24L4ZaK1064116@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=e4fe11f8366fd8b9910865c2a46871c1cb63d1f6

commit e4fe11f8366fd8b9910865c2a46871c1cb63d1f6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-21 04:33:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-21 04:35:33 +0000

    science/pcmsolver: Small fixes
    
    * fix build with git present
    * remove noninja (no longer needed)
    * force python version
---
 science/pcmsolver/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/science/pcmsolver/Makefile b/science/pcmsolver/Makefile
index 19e628cf6195..85d7c21fc9c9 100644
--- a/science/pcmsolver/Makefile
+++ b/science/pcmsolver/Makefile
@@ -9,12 +9,14 @@ COMMENT=	API for the Polarizable Continuum Model
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake:noninja compiler:c11 fortran python
+USES=		cmake compiler:c11 fortran python
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	PCMSolver
 
+BINARY_ALIAS=	git=true # see https://github.com/PCMSolver/pcmsolver/issues/198
+
 do-configure: # full CMAKE_ARGS breaks configure: -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" causes configure to fail to find fortran's libraries
 	@${MKDIR} ${CONFIGURE_WRKSRC}
 	@cd ${CONFIGURE_WRKSRC} && \
@@ -25,6 +27,7 @@ do-configure: # full CMAKE_ARGS breaks configure: -DCMAKE_EXE_LINKER_FLAGS="${LD
 			-DCMAKE_EXE_LINKER_FLAGS:STRING="${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so" \
 			-DCMAKE_C_COMPILER:STRING="${CC}" \
 			-DCMAKE_CXX_COMPILER:STRING="${CXX}" \
+			-DPYTHON_INTERPRETER:STRING="${PYTHON_CMD}" \
 			${CMAKE_SOURCE_PATH}
 
 .include <bsd.port.mk>



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