1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00
Daniel Engberg ab22566cfd irc/irssi: Backport buildfix for Capsicum in -CURRENT
After base 000321bab7be and base e4c36b7aa952 with CAPSICUM enabled
build fails to find nvlist_create() .
Backport upstream commit 7baefc3315e9dc11c8a3a787a3b6c6888c2b590a to
fix this issue

PR:		265397
Reported by:	vishwin
Reviewed by:	David O'Rourke <dor.bsd@xm0.uk> (maintainer)
Tested by:	kp
2022-08-20 09:32:11 +02:00

54 lines
1.5 KiB
Makefile

PORTNAME= irssi
DISTVERSION= 1.4.2
PORTEPOCH= 2
CATEGORIES?= irc
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/
PATCHFILES= 7baefc3315e9dc11c8a3a787a3b6c6888c2b590a.patch:-p1
MAINTAINER= dor.bsd@xm0.uk
COMMENT= Modular IRC client with many features
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c11 cpe gettext-runtime gnome meson localbase:ldflags \
ncurses perl5 pkgconfig ssl tar:xz
USE_GNOME= glib20
USE_LDCONFIG= yes
MESON_ARGS= -Dinstall-glib=no -Ddisable-gregex=no -Dstatic-dependency=no \
-Dwith-fuzzer=no -Dwithout-textui=no
OPTIONS_DEFINE= BOT CAPSICUM DOCS OTR PERL PROXY TRUECOLOR UTF8PROC
OPTIONS_DEFAULT= BOT CAPSICUM PERL PROXY TRUECOLOR
OPTIONS_SUB= yes
BOT_DESC= Bot support
CAPSICUM_DESC= Capsicum support
OTR_DESC= OTR (off-the-record) support
TRUECOLOR_DESC= True color support
UTF8PROC_DESC= utf8proc support
BOT_MESON_YES= with-bot
CAPSICUM_MESON_YES= with-capsicum
OTR_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libotr.so:security/libotr
OTR_MESON_YES= with-otr
PERL_MESON_YES= with-perl
PROXY_MESON_YES= with-proxy
TRUECOLOR_MESON_YES= enable-true-color
UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc
UTF8PROC_MESON_NO= disable-utf8proc
PERL_USE_OFF= perl5=build
post-install-PERL-off:
@${RM} -r ${STAGEDIR}${DATADIR}/scripts
post-install:
${INSTALL_DATA} ${WRKSRC}/irssi.conf ${STAGEDIR}${PREFIX}/etc/irssi.conf.sample
.include <bsd.port.mk>