1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

x11/florence: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-02 20:48:32 +02:00
parent 2d0d945a58
commit 20450aa4df

View File

@ -14,12 +14,15 @@ LICENSE_COMB= multi
LIB_DEPENDS= libnotify.so:devel/libnotify
USES= gmake gnome gstreamer iconv libtool pathfix pkgconfig tar:bzip2 xorg
USE_XORG= xtst xext
USE_GNOME= gtk30 cairo intlhack librsvg2
USE_LDCONFIG= yes
USE_XORG= xtst xext
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --without-docs
USE_LDCONFIG= yes
GLIB_SCHEMAS= org.florence.gschema.xml
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
@ -32,6 +35,12 @@ OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-patch:
@${REINPLACE_CMD} -e 's|^Categories=.*|Categories=Application;Accessibility;System;|' \
${WRKSRC}/data/florence.desktop.in.in