1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/irc/irssi-icb/Makefile
Santhosh Raju 41b1180898 irc/irssi-icb: Fix build failures for clang 16.0.6
Change applies to 14.0-CURRENT (1400092 and above).
2023-07-15 19:50:32 +02:00

40 lines
901 B
Makefile

PORTNAME= irssi-icb
PORTVERSION= 0.17
PORTREVISION= 3
CATEGORIES= irc
MAINTAINER= fox@FreeBSD.org
COMMENT= Irssi plugin for connecting to ICB network
WWW= https://github.com/mglocker/irssi-icb
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/irssi/src/common.h:irc/irssi
RUN_DEPENDS= irssi:irc/irssi
USES= autoreconf gnome libtool pkgconfig
USE_LDCONFIG= yes
USE_GNOME= glib20
USE_GITHUB= yes
GH_ACCOUNT= mglocker
GH_TAGNAME= c4e2ea8
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static \
--with-irssi=${LOCALBASE}/include/irssi
INSTALL_TARGET= install-strip
PLIST_FILES= lib/irssi/modules/libfe_icb.so \
lib/irssi/modules/libicb_core.so
.include <bsd.port.pre.mk>
# Fixes build failure for Clang 16.0.6
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.include <bsd.port.post.mk>