mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
science/nest: check for omp.h on all architectures
This commit is contained in:
parent
1dc59ad02c
commit
ccbaef928e
@ -34,18 +34,16 @@ PYTHON_CMAKE_ON= -DFREEBSD_PYTHON_VER:STRING=${PYTHON_VER} -DCYTHON_EXECUTABLE:S
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
.if !exists(/usr/include/omp.h)
|
||||
USES+= compiler:gcc-c++11-lib
|
||||
.else
|
||||
USES+= compiler:c++11-lang
|
||||
.endif
|
||||
|
||||
# 2 tests are known to fail, see https://github.com/nest/nest-simulator/issues/2190
|
||||
# tests require the port to be installed with DOCS=ON, see https://github.com/nest/nest-simulator/issues/2191
|
||||
|
||||
post-install:
|
||||
@${REINPLACE_CMD} -i '' -e 's|^python3 |${PYTHON_CMD} |' ${STAGEDIR}${PREFIX}/share/nest/testsuite/do_tests.sh
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == powerpc
|
||||
USES+= compiler:gcc-c++11-lib
|
||||
.else
|
||||
USES+= compiler:c++11-lang
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user