git: 87725d60051c - main - net-p2p/mldonkey: Fix build with llvm16

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

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

commit 87725d60051c9ddcc9af3ff7b772e9f2370ae70e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 14:46:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 14:46:36 +0000

    net-p2p/mldonkey: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 net-p2p/mldonkey/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-p2p/mldonkey/Makefile b/net-p2p/mldonkey/Makefile
index 3667759da4b4..022e396262d4 100644
--- a/net-p2p/mldonkey/Makefile
+++ b/net-p2p/mldonkey/Makefile
@@ -15,8 +15,10 @@ CONFLICTS=	mldonkey{-{core,gui},}-devel
 BUILD_DEPENDS=	${LOCALBASE}/lib/ocaml/nums.cma:math/ocaml-num
 
 USES=		compiler:c++11-lang cpe gmake iconv pkgconfig tar:bzip2
+USE_CXXSTD=	c++14
 USE_OCAML=	yes
 USE_OCAML_CAMLP4=yes
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	ac_cv_lib_charset_locale_charset=no
 ALL_TARGET=	opt
@@ -33,6 +35,7 @@ OPTIONS_DEFINE=	GD DOCS EXAMPLES
 OPTIONS_DEFAULT=CORE GD GUI
 OPTIONS_MULTI=	CLIENT
 OPTIONS_MULTI_CLIENT=CORE GUI
+
 CORE_DESC=	Client 'core' support
 
 .include <bsd.port.options.mk>