summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-11-26 08:02:37 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-11-26 08:02:37 +0000
commit468442c1fbe9ccdba422c83c76b8a218f9bd2206 (patch)
tree71ea9b2192dc0262cbf12a3cd727fbd0b01189e1 /irc
parent250c0df246e5dc61c059f567f23e874f4d16d571 (diff)
downloadfreebsd-ports-468442c1fbe9ccdba422c83c76b8a218f9bd2206.zip
irc/irssi: Unbreak when PERL=OFF
In r556069 the port changed to build with meson. This requires perl to build regardles of the option PERL that allows perl scripts to be run in irssi. While here clarify pkg-message (sent by daniel.engberg.lists@pyret.net) PR: 251371 251360 Submitted by: dor.bsd@xm0.uk (maintainer) Reported by: m.bueker@berlin.de
Diffstat (limited to 'irc')
-rw-r--r--irc/irssi/Makefile3
-rw-r--r--irc/irssi/pkg-message11
2 files changed, 10 insertions, 4 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index 1814f50972cb..3e9574777271 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
# Until upstream makes a new release disable cpe
USES= gettext-runtime gnome meson localbase:ldflags ncurses \
- pkgconfig ssl
+ perl5 pkgconfig ssl
USE_GNOME= glib20
USE_LDCONFIG= yes
@@ -46,7 +46,6 @@ CAPSICUM_MESON_YES= with-capsicum
OTR_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libotr.so:security/libotr
OTR_MESON_YES= with-otr
-PERL_USES= perl5
PERL_MESON_YES= with-perl
PROXY_MESON_YES= with-proxy
TRUECOLOR_MESON_YES= enable-true-color
diff --git a/irc/irssi/pkg-message b/irc/irssi/pkg-message
index 77fb1cc3391a..70df6c6425c5 100644
--- a/irc/irssi/pkg-message
+++ b/irc/irssi/pkg-message
@@ -1,5 +1,12 @@
-You need to add:
+[
+{ type: install
+ message: <<EOM
+If Perl support was enabled during compilation you need to load the module
+by adding:
load perl
-to your ~/.irssi/startup file.
+to ~/.irssi/startup
+EOM
+}
+]