1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/math/tmv/Makefile
Piotr Kubaj 2bedec4670 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
2021-10-06 20:52:24 +00:00

35 lines
689 B
Makefile

PORTNAME= tmv
DISTVERSIONPREFIX= v
DISTVERSION= 0.75
PORTREVISION= 8
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast, intuitive linear algebra library for C++
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/TMV_LICENSE
USES= gmake blaslapack:netlib localbase
USE_GITHUB= yes
GH_ACCOUNT= rmjarvis
USE_LDCONFIG= yes
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${BUILD_WRKSRC}
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}
.include <bsd.port.mk>