diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile index 15cc269bf052..e2e8214d1d6b 100644 --- a/irc/irssi/Makefile +++ b/irc/irssi/Makefile @@ -1,54 +1,51 @@ PORTNAME= irssi DISTVERSION= 1.4.5 PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES?= irc MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ \ https://codeberg.org/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= dor.bsd@xm0.uk COMMENT= Modular IRC client with many features WWW= https://irssi.org/ 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 UTF8PROC OPTIONS_DEFAULT= BOT CAPSICUM PERL PROXY OPTIONS_SUB= yes BOT_DESC= Bot support CAPSICUM_DESC= Capsicum support OTR_DESC= OTR (off-the-record) 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 UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc UTF8PROC_MESON_NO= disable-utf8proc PERL_USE_OFF= perl5=build -post-patch: - @${REINPLACE_CMD} 's|%%OPENSSLLIB%%|${OPENSSLLIB}|' ${WRKSRC}/meson.build - post-install-PERL-off: @${RM} -r ${STAGEDIR}${DATADIR}/scripts post-install: ${INSTALL_DATA} ${WRKSRC}/irssi.conf ${STAGEDIR}${PREFIX}/etc/irssi.conf.sample .include diff --git a/irc/irssi/files/patch-meson.build b/irc/irssi/files/patch-meson.build deleted file mode 100644 index 722b7a6da6d2..000000000000 --- a/irc/irssi/files/patch-meson.build +++ /dev/null @@ -1,12 +0,0 @@ ---- meson.build.orig 2023-03-28 12:13:26 UTC -+++ meson.build -@@ -284,7 +284,8 @@ if glib_internal and want_static_dependency and want_f - else - openssl_dep = dependency('openssl', static : want_static_dependency, include_type : 'system') - endif --dep += openssl_dep -+dep += cc.find_library('crypto', dirs: '%%OPENSSLLIB%%') -+dep += cc.find_library('ssl', dirs: '%%OPENSSLLIB%%') - - ############ - # utf8proc #