math/tmv: fix build on powerpc

c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -I../include -fopenmp -fPIC -DTMV_NDEBUG -DFBLAS -DNOLAP -isystem /usr/local/include  -c -o TMV_MultMM_OpenMP.o TMV_MultMM_OpenMP.cpp
TMV_MultMM.cpp:33:10: fatal error: 'omp.h' file not found
This commit is contained in:
Piotr Kubaj 2021-10-06 20:52:24 +00:00
parent 915dfb48de
commit 2bedec4670

View File

@ -21,6 +21,12 @@ MAKEFILE= ${FILESDIR}/Makefile
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USES+= compiler:gcc-c++11-lib
.endif
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/TMV_Documentation.pdf ${STAGEDIR}${DOCSDIR}