summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2017-08-24 14:05:21 +0000
committerkhorben <khorben@pkgsrc.org>2017-08-24 14:05:21 +0000
commit6efd733d6a8ff38af6192b0b8d85f47a87f14e04 (patch)
tree6d4559bb5a31de8ecdf2791267fd9e9e58946e36 /chat
parent51f0344fd830f5faae3817dd22872af6fe605177 (diff)
downloadpkgsrc-6efd733d6a8ff38af6192b0b8d85f47a87f14e04.tar.gz
Add support for 256 colors in irssi
This even makes it an option, to disable it if necessary. It is enabled by default here since it remains disabled by default at run-time: /set colors_ansi_24bit Bumps PKGREVISION. "Go for it" maya@
Diffstat (limited to 'chat')
-rw-r--r--chat/irssi/Makefile3
-rw-r--r--chat/irssi/options.mk10
2 files changed, 9 insertions, 4 deletions
diff --git a/chat/irssi/Makefile b/chat/irssi/Makefile
index 1e98e8f8772..54e65cdd608 100644
--- a/chat/irssi/Makefile
+++ b/chat/irssi/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.82 2017/06/07 04:41:41 snj Exp $
+# $NetBSD: Makefile,v 1.83 2017/08/24 14:05:21 khorben Exp $
DISTNAME= ${IRSSI_DISTNAME}
+PKGREVISION= 1
CATEGORIES= chat
EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX}
diff --git a/chat/irssi/options.mk b/chat/irssi/options.mk
index 60599a0ceb3..2e73941ad0f 100644
--- a/chat/irssi/options.mk
+++ b/chat/irssi/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.17 2017/04/27 00:57:03 maya Exp $
+# $NetBSD: options.mk,v 1.18 2017/08/24 14:05:21 khorben Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.irssi
-PKG_SUPPORTED_OPTIONS= ssl perl
-PKG_SUGGESTED_OPTIONS= ssl perl
+PKG_SUPPORTED_OPTIONS= ssl perl truecolor
+PKG_SUGGESTED_OPTIONS= ssl perl truecolor
.include "../../mk/bsd.options.mk"
@@ -27,3 +27,7 @@ CONFIGURE_ARGS+= --with-perl=no
.else
CONFIGURE_ARGS+= --disable-ssl
.endif
+
+.if !empty(PKG_OPTIONS:Mtruecolor)
+CONFIGURE_ARGS+= --enable-true-color
+.endif