Thu Aug 24 14:05:21 2017 UTC ()
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@


(khorben)
diff -r1.82 -r1.83 pkgsrc/chat/irssi/Makefile
diff -r1.17 -r1.18 pkgsrc/chat/irssi/options.mk

cvs diff -r1.82 -r1.83 pkgsrc/chat/irssi/Makefile (expand / switch to unified diff)

--- pkgsrc/chat/irssi/Makefile 2017/06/07 04:41:41 1.82
+++ pkgsrc/chat/irssi/Makefile 2017/08/24 14:05:21 1.83
@@ -1,16 +1,17 @@ @@ -1,16 +1,17 @@
1# $NetBSD: Makefile,v 1.82 2017/06/07 04:41:41 snj Exp $ 1# $NetBSD: Makefile,v 1.83 2017/08/24 14:05:21 khorben Exp $
2 2
3DISTNAME= ${IRSSI_DISTNAME} 3DISTNAME= ${IRSSI_DISTNAME}
 4PKGREVISION= 1
4CATEGORIES= chat 5CATEGORIES= chat
5EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX} 6EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX}
6 7
7MAINTAINER= maya@NetBSD.org 8MAINTAINER= maya@NetBSD.org
8HOMEPAGE= http://www.irssi.org/ 9HOMEPAGE= http://www.irssi.org/
9COMMENT= Secure and modular IRC client with text mode user interface 10COMMENT= Secure and modular IRC client with text mode user interface
10LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
11 12
12.include "../../mk/bsd.prefs.mk" 13.include "../../mk/bsd.prefs.mk"
13.include "Makefile.common" 14.include "Makefile.common"
14 15
15GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
16USE_LIBTOOL= yes 17USE_LIBTOOL= yes

cvs diff -r1.17 -r1.18 pkgsrc/chat/irssi/options.mk (expand / switch to unified diff)

--- pkgsrc/chat/irssi/options.mk 2017/04/27 00:57:03 1.17
+++ pkgsrc/chat/irssi/options.mk 2017/08/24 14:05:21 1.18
@@ -1,29 +1,33 @@ @@ -1,29 +1,33 @@
1# $NetBSD: options.mk,v 1.17 2017/04/27 00:57:03 maya Exp $ 1# $NetBSD: options.mk,v 1.18 2017/08/24 14:05:21 khorben Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.irssi 3PKG_OPTIONS_VAR= PKG_OPTIONS.irssi
4PKG_SUPPORTED_OPTIONS= ssl perl 4PKG_SUPPORTED_OPTIONS= ssl perl truecolor
5PKG_SUGGESTED_OPTIONS= ssl perl 5PKG_SUGGESTED_OPTIONS= ssl perl truecolor
6 6
7.include "../../mk/bsd.options.mk" 7.include "../../mk/bsd.options.mk"
8 8
9.if !empty(PKG_OPTIONS:Mperl) 9.if !empty(PKG_OPTIONS:Mperl)
10USE_TOOLS+= perl:run 10USE_TOOLS+= perl:run
11PERL5_PACKLIST= auto/Irssi/.packlist 11PERL5_PACKLIST= auto/Irssi/.packlist
12PERL5_PACKLIST+= auto/Irssi/Irc/.packlist 12PERL5_PACKLIST+= auto/Irssi/Irc/.packlist
13PERL5_PACKLIST+= auto/Irssi/UI/.packlist 13PERL5_PACKLIST+= auto/Irssi/UI/.packlist
14PERL5_PACKLIST+= auto/Irssi/TextUI/.packlist 14PERL5_PACKLIST+= auto/Irssi/TextUI/.packlist
15.include "../../lang/perl5/packlist.mk" 15.include "../../lang/perl5/packlist.mk"
16.include "../../lang/perl5/buildlink3.mk" 16.include "../../lang/perl5/buildlink3.mk"
17# actually we don't need --with-perl here, irssi is compiled with it by default 17# actually we don't need --with-perl here, irssi is compiled with it by default
18# but who knows what may happen in future versions 18# but who knows what may happen in future versions
19CONFIGURE_ARGS+= --with-perl 19CONFIGURE_ARGS+= --with-perl
20CONFIGURE_ARGS+= --with-perl-lib=vendor 20CONFIGURE_ARGS+= --with-perl-lib=vendor
21.else 21.else
22CONFIGURE_ARGS+= --with-perl=no 22CONFIGURE_ARGS+= --with-perl=no
23.endif 23.endif
24 24
25.if !empty(PKG_OPTIONS:Mssl) 25.if !empty(PKG_OPTIONS:Mssl)
26.include "../../security/openssl/buildlink3.mk" 26.include "../../security/openssl/buildlink3.mk"
27.else 27.else
28CONFIGURE_ARGS+= --disable-ssl 28CONFIGURE_ARGS+= --disable-ssl
29.endif 29.endif
 30
 31.if !empty(PKG_OPTIONS:Mtruecolor)
 32CONFIGURE_ARGS+= --enable-true-color
 33.endif