summaryrefslogtreecommitdiff
path: root/misc/screen
diff options
context:
space:
mode:
authorshattered <shattered>2011-06-11 18:49:31 +0000
committershattered <shattered>2011-06-11 18:49:31 +0000
commit83920b6554efdfdca188274578087127bfa00191 (patch)
tree5a7797d3c0e90203e32a81005ead888ca6ab858b /misc/screen
parentfcaae08a76e3219184f10fb1e9fbf2a9c6bf1ac3 (diff)
downloadpkgsrc-83920b6554efdfdca188274578087127bfa00191.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"