git: 912a0fceb590 - main - biology/locarna: Fix build on 14.x and main
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Dec 2023 07:12:45 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=912a0fceb5903543c97d9abfc309831d9f12dcb2
commit 912a0fceb5903543c97d9abfc309831d9f12dcb2
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-14 07:11:55 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-14 07:11:55 +0000
biology/locarna: Fix build on 14.x and main
The code uses the STL method that was remved in C++17.
Reported by: fallout
---
biology/locarna/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/biology/locarna/Makefile b/biology/locarna/Makefile
index 4483c3792d59..53d51d26f8c8 100644
--- a/biology/locarna/Makefile
+++ b/biology/locarna/Makefile
@@ -19,6 +19,7 @@ TEST_DEPENDS= bash:shells/bash \
USES= autoreconf gmake libtool perl5 pkgconfig shebangfix
USE_LDCONFIG= yes
+USE_CXXSTD= c++14 # workaround for https://github.com/s-will/LocARNA/issues/82 (LocARNA uses the removed STL method)
CXXFLAGS+= -I${LOCALBASE}/include/catch2 # use external catch