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@diff -r1.82 -r1.83 pkgsrc/chat/irssi/Makefile
(khorben)
@@ -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 | |||
3 | DISTNAME= ${IRSSI_DISTNAME} | 3 | DISTNAME= ${IRSSI_DISTNAME} | |
4 | PKGREVISION= 1 | |||
4 | CATEGORIES= chat | 5 | CATEGORIES= chat | |
5 | EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX} | 6 | EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX} | |
6 | 7 | |||
7 | MAINTAINER= maya@NetBSD.org | 8 | MAINTAINER= maya@NetBSD.org | |
8 | HOMEPAGE= http://www.irssi.org/ | 9 | HOMEPAGE= http://www.irssi.org/ | |
9 | COMMENT= Secure and modular IRC client with text mode user interface | 10 | COMMENT= Secure and modular IRC client with text mode user interface | |
10 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= 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 | |||
15 | GNU_CONFIGURE= yes | 16 | GNU_CONFIGURE= yes | |
16 | USE_LIBTOOL= yes | 17 | USE_LIBTOOL= yes |
@@ -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 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.irssi | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.irssi | |
4 | PKG_SUPPORTED_OPTIONS= ssl perl | 4 | PKG_SUPPORTED_OPTIONS= ssl perl truecolor | |
5 | PKG_SUGGESTED_OPTIONS= ssl perl | 5 | PKG_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) | |
10 | USE_TOOLS+= perl:run | 10 | USE_TOOLS+= perl:run | |
11 | PERL5_PACKLIST= auto/Irssi/.packlist | 11 | PERL5_PACKLIST= auto/Irssi/.packlist | |
12 | PERL5_PACKLIST+= auto/Irssi/Irc/.packlist | 12 | PERL5_PACKLIST+= auto/Irssi/Irc/.packlist | |
13 | PERL5_PACKLIST+= auto/Irssi/UI/.packlist | 13 | PERL5_PACKLIST+= auto/Irssi/UI/.packlist | |
14 | PERL5_PACKLIST+= auto/Irssi/TextUI/.packlist | 14 | PERL5_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 | |
19 | CONFIGURE_ARGS+= --with-perl | 19 | CONFIGURE_ARGS+= --with-perl | |
20 | CONFIGURE_ARGS+= --with-perl-lib=vendor | 20 | CONFIGURE_ARGS+= --with-perl-lib=vendor | |
21 | .else | 21 | .else | |
22 | CONFIGURE_ARGS+= --with-perl=no | 22 | CONFIGURE_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 | |
28 | CONFIGURE_ARGS+= --disable-ssl | 28 | CONFIGURE_ARGS+= --disable-ssl | |
29 | .endif | 29 | .endif | |
30 | ||||
31 | .if !empty(PKG_OPTIONS:Mtruecolor) | |||
32 | CONFIGURE_ARGS+= --enable-true-color | |||
33 | .endif |