science/pcmsolver: Small fixes
* fix build with git present * remove noninja (no longer needed) * force python version
This commit is contained in:
parent
b308fbec7c
commit
e4fe11f836
1 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue