1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

math/xlife++: Fix build with llvm16

- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-21 18:59:42 +02:00
parent a452398720
commit 546dab9b3b

View File

@ -12,17 +12,18 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake compiler:c++11-lang eigen:3 fortran tar:tbz
USE_CXXSTD= c++11
USE_LDCONFIG= yes
CMAKE_OFF= XLIFEPP_ENABLE_ARPACK # should be ON, but it fails to build. Reported to their bugs ML.
CXXFLAGS+= -I${LOCALBASE}/include/eigen3/Eigen -I${LOCALBASE}/include/ARPACK++
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-extract: # delete bundled packages
@${RM} -r ${WRKSRC}/ext/Eigen ${WRKSRC}/ext/ARPACK ${WRKSRC}/ext/ARPACK++