git: 2fbe2cc7ac71 - main - devel/regexx: Fix build with llvm16

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

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

commit 2fbe2cc7ac7139903d1f4c2bd4e9f56e1d0cf3da
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 19:13:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 19:34:42 +0000

    devel/regexx: Fix build with llvm16
    
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/regexx/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/devel/regexx/Makefile b/devel/regexx/Makefile
index bd8ff2d68200..f6347c311d00 100644
--- a/devel/regexx/Makefile
+++ b/devel/regexx/Makefile
@@ -13,10 +13,13 @@ LICENSE=	LGPL21
 LIB_DEPENDS=	libpcre.so:devel/pcre
 
 USES=		gmake pkgconfig libtool
+USE_CXXSTD=	c++14
+USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
+
 MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
 		AUTOMAKE="${TRUE}"
-USE_LDCONFIG=	yes
 
 CPPFLAGS+=	$$(pkg-config --cflags libpcre)
 LDFLAGS+=	$$(pkg-config --libs libpcre)