summaryrefslogtreecommitdiff
path: root/misc/screen
diff options
context:
space:
mode:
authorshattered <shattered@pkgsrc.org>2011-06-11 18:49:31 +0000
committershattered <shattered@pkgsrc.org>2011-06-11 18:49:31 +0000
commitd057cf2ba0168302317d53efc7274d0cf35503c3 (patch)
tree5a7797d3c0e90203e32a81005ead888ca6ab858b /misc/screen
parent2943e61cd17c44708654c9d16e086248a6b58b9b (diff)
downloadpkgsrc-d057cf2ba0168302317d53efc7274d0cf35503c3.tar.gz
PR/39663: enable 256 color support (only with ncurses and PDCurses).
Diffstat (limited to 'misc/screen')
-rw-r--r--misc/screen/options.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/screen/options.mk b/misc/screen/options.mk
index 2ba55d1d442..b6b7b3a7b0e 100644
--- a/misc/screen/options.mk
+++ b/misc/screen/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2009/03/02 21:11:49 adrianp Exp $
+# $NetBSD: options.mk,v 1.2 2011/06/11 18:49:31 shattered Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.screen
@@ -18,8 +18,12 @@ CURSES_DEFAULT= curses
.if !empty(PKG_OPTIONS:Mncurses)
CURSES_DEFAULT= ncurses
+CONFIGURE_ARGS+= --enable-colors256
.endif
.if !empty(PKG_OPTIONS:Mpdcurses)
CURSES_DEFAULT= pdcurses
+CONFIGURE_ARGS+= --enable-colors256
.endif
+
+.include "../../mk/curses.buildlink3.mk"