git: 5131576c891d - main - devel/log4cplus: Fix build with llvm16

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

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

commit 5131576c891d7c8b484896db1d45881b2995ee74
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 15:12:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 15:53:03 +0000

    devel/log4cplus: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 devel/log4cplus/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/devel/log4cplus/Makefile b/devel/log4cplus/Makefile
index ffa43be9026a..3ca6d9a36178 100644
--- a/devel/log4cplus/Makefile
+++ b/devel/log4cplus/Makefile
@@ -11,17 +11,20 @@ WWW=		http://log4cplus.sourceforge.net/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-OPTIONS_DEFINE=	DOCS
-
 USES=		compiler:c++11-lang libtool pathfix tar:xz
+USE_CXXSTD=	c++14
 USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-threads=yes
-INSTALL_TARGET=	install-strip
+
 MAKE_JOBS_UNSAFE=	yes
+INSTALL_TARGET=	install-strip
 
 PORTDOCS=	*
 
+OPTIONS_DEFINE=	DOCS
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/docs/*.config ${STAGEDIR}${DOCSDIR}