Skip to content

Commit

Permalink
Add support for 256 colors in irssi
Browse files Browse the repository at this point in the history
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@
  • Loading branch information
khorben committed Aug 24, 2017
1 parent fdd8ec0 commit dbed71c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion chat/irssi/Makefile
Original file line number Diff line number Diff line change
@@ -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}

Expand Down
10 changes: 7 additions & 3 deletions chat/irssi/options.mk
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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

0 comments on commit dbed71c

Please sign in to comment.