pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/irssi Add support for 256 colors in irssi



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b7eded3ca0d
branches:  trunk
changeset: 367132:0b7eded3ca0d
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Thu Aug 24 14:05:21 2017 +0000

description:
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:

 chat/irssi/Makefile   |   3 ++-
 chat/irssi/options.mk |  10 +++++++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 32d5cba8b307 -r 0b7eded3ca0d chat/irssi/Makefile
--- a/chat/irssi/Makefile       Thu Aug 24 14:02:39 2017 +0000
+++ b/chat/irssi/Makefile       Thu Aug 24 14:05:21 2017 +0000
@@ -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 -r 32d5cba8b307 -r 0b7eded3ca0d chat/irssi/options.mk
--- a/chat/irssi/options.mk     Thu Aug 24 14:02:39 2017 +0000
+++ b/chat/irssi/options.mk     Thu Aug 24 14:05:21 2017 +0000
@@ -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 @@
 .else
 CONFIGURE_ARGS+=       --disable-ssl
 .endif
+
+.if !empty(PKG_OPTIONS:Mtruecolor)
+CONFIGURE_ARGS+=       --enable-true-color
+.endif



Home | Main Index | Thread Index | Old Index