git: eccdc51402b7 - main - graphics/dynamechs: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 05 Aug 2023 19:34:56 UTC
The branch main has been updated by bofh:

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

commit eccdc51402b7b85f0fd9a1233b881467fe0511b4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 19:17:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 19:34:43 +0000

    graphics/dynamechs: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 graphics/dynamechs/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/graphics/dynamechs/Makefile b/graphics/dynamechs/Makefile
index 8980819d7186..1ded17ac67e0 100644
--- a/graphics/dynamechs/Makefile
+++ b/graphics/dynamechs/Makefile
@@ -11,13 +11,17 @@ COMMENT=	Multibody Dynamic Simulation Library
 WWW=		http://dynamechs.sourceforge.net/
 
 USES=		gl gmake perl5 shebangfix tar:bzip2
+USE_CXXSTD=	c++14
 USE_GL=		glut
+USE_LDCONFIG=	yes
 USE_PERL5=	build
+
 SHEBANG_FILES=	make/*.pl
+
 MAKE_ENV=	OPENGLINCDIR="${LOCALBASE}/include" \
 		OPENGLLIBDIR="${LOCALBASE}/lib"
+
 ALL_TARGET=	freebsd
-USE_LDCONFIG=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e \