git: f788ffc08399 - main - devel/libgee06: Fix build with llvm16

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

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

commit f788ffc0839908f2b4e63a44b148011d4e463d44
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 14:19:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 14:45:29 +0000

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

diff --git a/devel/libgee06/Makefile b/devel/libgee06/Makefile
index 2295e443ff3f..0a0bec668d88 100644
--- a/devel/libgee06/Makefile
+++ b/devel/libgee06/Makefile
@@ -9,12 +9,20 @@ MAINTAINER=	kwm@FreeBSD.org
 COMMENT=	GObject collection library
 WWW=		https://live.gnome.org/Libgee
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-introspection=yes
-INSTALL_TARGET=	install-strip
 USES=		cpe gmake gnome libtool pathfix pkgconfig tar:xz
 CPE_VENDOR=	gnome
 USE_GNOME=	glib20 introspection:build
 USE_LDCONFIG=	yes
 
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--enable-introspection=yes
+
+INSTALL_TARGET=	install-strip
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 .include <bsd.port.mk>