git: faa644715b0e - main - net-p2p/dclib: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 21 Jul 2023 18:26:30 UTC
The branch main has been updated by bofh:

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

commit faa644715b0e84041409a0afd1037c951cfdfb2c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 18:24:47 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 18:26:15 +0000

    net-p2p/dclib: Fix build with llvm16
    
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 net-p2p/dclib/Makefile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/net-p2p/dclib/Makefile b/net-p2p/dclib/Makefile
index 339ccfcbe03e..aa49b5749779 100644
--- a/net-p2p/dclib/Makefile
+++ b/net-p2p/dclib/Makefile
@@ -11,14 +11,17 @@ WWW=		http://wxdcgui.sourceforge.net/
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-WRKSRC=		${WRKDIR}/${DISTNAME}
-
 USES=		gnome jpeg libtool localbase pathfix ssl tar:bzip2
-GNU_CONFIGURE=	yes
+USE_CXXSTD=	c++14
 USE_GNOME=	libxml2
-INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
+GNU_CONFIGURE=	yes
+
+INSTALL_TARGET=	install-strip
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
 post-patch:
 	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
 		${REINPLACE_CMD} -e 's|dclib-0.3/||g'