git: c09ca3eae83a - main - net-p2p/libtorrent: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 24 Jul 2023 12:52:56 UTC
The branch main has been updated by bofh:

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

commit c09ca3eae83a370c4890921b25ad57e94a729635
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-24 12:13:03 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-24 12:52:38 +0000

    net-p2p/libtorrent: Fix build with llvm16
    
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 net-p2p/libtorrent/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index d3eb654ab329..59d928b90f3b 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -11,15 +11,17 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		autoreconf compiler:c++11-lang cpe libtool localbase:ldflags pathfix pkgconfig ssl
+USE_CXXSTD=	c++14
+USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-debug
 CONFIGURE_ENV=	OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" OPENSSL_CFLAGS="-I\
 								${OPENSSLINC}"
-USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	KQUEUE
 OPTIONS_DEFAULT=KQUEUE
+
 KQUEUE_DESC=	Use kqueue(2) support
 
 # This makes sure that /usr/local/lib appears before /usr/lib when