git: 12439f471a3d - 2023Q3 - math/mpsolve: Fix build by adding USE_CXXSTD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jul 2023 04:38:52 UTC
The branch 2023Q3 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=12439f471a3df53ad1bd595efd18952d50e0043f
commit 12439f471a3df53ad1bd595efd18952d50e0043f
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-09 04:37:37 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-09 04:38:48 +0000
math/mpsolve: Fix build by adding USE_CXXSTD
Reported by: fallout
(cherry picked from commit 05b8ada7349841ee2e2f67a0979081934436c65f)
---
math/mpsolve/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/math/mpsolve/Makefile b/math/mpsolve/Makefile
index 5216c6906e6e..1a99c1d2e1a6 100644
--- a/math/mpsolve/Makefile
+++ b/math/mpsolve/Makefile
@@ -18,6 +18,7 @@ USES= autoreconf:2.69 compiler:c++11-lang gettext-runtime gmake \
gnome libtool localbase pkgconfig shared-mime-info tar:bz2
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango
USE_LDCONFIG= yes
+USE_CXXSTD= c++14 # fix compilation failure on 14: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static