git: 05b8ada73498 - main - 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:35 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=05b8ada7349841ee2e2f67a0979081934436c65f
commit 05b8ada7349841ee2e2f67a0979081934436c65f
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:24 +0000
math/mpsolve: Fix build by adding USE_CXXSTD
Reported by: fallout
---
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