git: e4fe11f8366f - main - science/pcmsolver: Small fixes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 May 2022 04:35:36 UTC
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>