git: babd083d9cc5 - main - news/pan: Fix build with llvm16

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

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

commit babd083d9cc5e98df03cf1c548eb4b2a4bb40448
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 18:03:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 18:26:14 +0000

    news/pan: Fix build with llvm16
    
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 news/pan/Makefile | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/news/pan/Makefile b/news/pan/Makefile
index ca8e23467b0c..e178a4a974e7 100644
--- a/news/pan/Makefile
+++ b/news/pan/Makefile
@@ -21,27 +21,29 @@ LIB_DEPENDS=	libpcre.so:devel/pcre \
 
 USES=		compiler:c++11-lang desktop-file-utils gettext-tools:build \
 		gmake gnome iconv localbase pathfix pkgconfig tar:bzip2
+USE_CXXSTD=	c++14
 USE_GNOME=	cairo gdkpixbuf2 intlhack
+
 GNU_CONFIGURE=	yes
+
 LDFLAGS+=	${ICONV_LIB}
+
 OPTIONS_DEFINE=		GTKSPELL GNUTLS NLS
 OPTIONS_DEFAULT=	GTKSPELL GNUTLS GTK2
 OPTIONS_RADIO=		GTK
 OPTIONS_RADIO_GTK=	GTK2 GTK3
 OPTIONS_SUB=		yes
+
 GTKSPELL_DESC=		Spell checking support (gtk+2 only)
 
 GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls
 GNUTLS_CONFIGURE_WITH=	gnutls
-
-GTK3_CONFIGURE_WITH=	gtk3
-GTK3_USE=		gnome=gtk30
 GTK2_USE=		gnome=gtk20
-
+GTK3_PREVENTS=		GTKSPELL
+GTK3_USE=		gnome=gtk30
+GTK3_CONFIGURE_WITH=	gtk3
 GTKSPELL_LIB_DEPENDS=	libgtkspell.so:textproc/gtkspell
 GTKSPELL_CONFIGURE_WITH=gtkspell
-GTK3_PREVENTS=		GTKSPELL
-
 NLS_USES=	gettext-runtime
 NLS_CONFIGURE_ENABLE=	nls