git: 1cd945e15277 - main - devel/glademm: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 23 Jul 2023 22:16:27 UTC
The branch main has been updated by bofh:

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

commit 1cd945e15277f1b441f18187cf5236b60caaa9a6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 21:05:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 22:16:15 +0000

    devel/glademm: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 devel/glademm/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/devel/glademm/Makefile b/devel/glademm/Makefile
index 86336d98422b..cece7a166903 100644
--- a/devel/glademm/Makefile
+++ b/devel/glademm/Makefile
@@ -10,13 +10,13 @@ COMMENT=	C++ code generator backend for glade and glade2
 WWW=		http://home.wtal.de/petig/Gtk/
 
 USES=		gmake gnome pathfix pkgconfig
+USE_CXXSTD=	c++14
 USE_GNOME=	gnomeprefix
+
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	bin/glade-- bin/glademm-embed
 
-.include <bsd.port.pre.mk>
-
 post-patch:
 	@${RM} ${WRKSRC}/src/getopt.*
 	@${REINPLACE_CMD} \
@@ -24,4 +24,4 @@ post-patch:
 		-Ee '/^@AMDEP(.)+getopt/d' \
 			${WRKSRC}/src/Makefile.in
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>