git: ff0d26b8b763 - main - mail/lurker: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 20 Jul 2023 17:43:07 UTC
The branch main has been updated by bofh:

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

commit ff0d26b8b7636ab0174acba543dd2fbd99e5314c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 12:14:05 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:33 +0000

    mail/lurker: Fix build with llvm16
    
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 mail/lurker/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/mail/lurker/Makefile b/mail/lurker/Makefile
index 3218df9bf0c7..9eec3949e8f1 100644
--- a/mail/lurker/Makefile
+++ b/mail/lurker/Makefile
@@ -14,17 +14,20 @@ WWW=		http://lurker.sourceforge.net/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-MIMELIB_VERSION=	3.1.1
-
 USES=		iconv localbase
+USE_CXXSTD=	c++14
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-mimelib-local \
 		--with-default-www-dir=${PREFIX}/www/lurker \
 		--with-cgi-bin-dir=${PREFIX}/www/lurker
+
 PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 
 OPTIONS_DEFINE=	DOCS
 
+MIMELIB_VERSION=	3.1.1
+
 post-extract:
 	@cd ${WRKSRC} && ${TAR} ${EXTRACT_BEFORE_ARGS} \
 		${DISTDIR}/mimelib-${MIMELIB_VERSION}.tar.gz ${EXTRACT_AFTER_ARGS}