git: 546dab9b3bb9 - main - math/xlife++: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Jul 2023 17:20:15 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=546dab9b3bb987c47cc84b1e40dc3f2750da64a7
commit 546dab9b3bb987c47cc84b1e40dc3f2750da64a7
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 16:59:42 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 17:20:04 +0000
math/xlife++: Fix build with llvm16
- Pet portclippy
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
---
math/xlife++/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/math/xlife++/Makefile b/math/xlife++/Makefile
index 83141d15a70d..7f54ad8b4146 100644
--- a/math/xlife++/Makefile
+++ b/math/xlife++/Makefile
@@ -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++