git: c8f6192a7e5c - main - security/libecc: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 23 Jul 2023 16:51:11 UTC
The branch main has been updated by bofh:

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

commit c8f6192a7e5ca36fb56e3d9f0e4a202e573fbf5f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 16:50:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 16:50:18 +0000

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

diff --git a/security/libecc/Makefile b/security/libecc/Makefile
index 7133c670b690..ba7f3a65796c 100644
--- a/security/libecc/Makefile
+++ b/security/libecc/Makefile
@@ -13,8 +13,11 @@ LICENSE=	GPLv2+
 LIB_DEPENDS=	libgmp.so:math/gmp
 
 USES=		libtool localbase
-GNU_CONFIGURE=	yes
+USE_CXXSTD=	c++14
 USE_LDCONFIG=	yes
+
+GNU_CONFIGURE=	yes
+
 INSTALL_TARGET=	install-strip
 
 post-patch: