git: e81dafc952d7 - main - science/qwalk: Fix build on 14 by adding c++11

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 08 Jul 2023 01:01:46 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e81dafc952d7bb8c3d22c5aa0eb1816626d4352d

commit e81dafc952d7bb8c3d22c5aa0eb1816626d4352d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-08 00:59:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-08 01:01:44 +0000

    science/qwalk: Fix build on 14 by adding c++11
---
 science/qwalk/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/science/qwalk/Makefile b/science/qwalk/Makefile
index 570c53ed651f..80dbc8d5497d 100644
--- a/science/qwalk/Makefile
+++ b/science/qwalk/Makefile
@@ -15,10 +15,12 @@ LICENSE_FILE=	${WRKSRC}/../COPYING
 PORTSCOUT=	limit:^.*[1-9]\. # prevent words like 'broken'
 
 USES=		compiler:c++11-lang fortran gmake gnome perl5
+USE_GNOME=	libxml2
+USE_CXXSTD=	c++11 # attempt to fix failure: Cubic_spline_calc.cpp:1107:5: error: ISO C++17 does not allow 'register' storage class specifier
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	QWalk
 GH_PROJECT=	mainline
-USE_GNOME=	libxml2
 
 WRKSRC_SUBDIR=	src
 MAKE_ARGS=	INSTALLPATH=${STAGEDIR}${PREFIX}/bin