diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-05-28 21:55:24 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-05-28 21:57:34 +0200 |
commit | bb3fe753bbe5a79d34793b5c6b4f80c0c5f28e5c (patch) | |
tree | d9ab57338a6687bbf00b88ef7d970353b165da16 /rules/less.in | |
parent | df08227a444169efb695f5ca7a1956e37eb3e488 (diff) | |
download | ptxdist-bb3fe753bbe5a79d34793b5c6b4f80c0c5f28e5c.tar.gz ptxdist-bb3fe753bbe5a79d34793b5c6b4f80c0c5f28e5c.tar.xz |
less: version bump 443 -> 487
Cleanup options while at it. 'less' should not select NCURSES_WIDE_CHAR but
use it as configured.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/less.in')
-rw-r--r-- | rules/less.in | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/rules/less.in b/rules/less.in index 3e182f2c0..0f801b3cc 100644 --- a/rules/less.in +++ b/rules/less.in @@ -8,8 +8,6 @@ menuconfig LESS select GCCLIBS_GCC_S depends on !BUSYBOX_LESS || ALLYES select NCURSES if LESS_USE_NCURSES - select NCURSES if LESS_USE_NCURSESW - select NCURSES_WIDE_CHAR if LESS_USE_NCURSESW select TERMCAP if LESS_USE_TERMCAP help Less is a pager. A pager is a program @@ -45,15 +43,23 @@ config LESS_USE_NCURSES bool prompt "ncurses " -config LESS_USE_NCURSESW - bool - prompt "ncursesw" - config LESS_USE_TERMCAP bool prompt "termcap " endchoice +if LESS_USE_NCURSES + +config LESS_NCURSES + bool + default !NCURSES_WIDE_CHAR + +config LESS_NCURSESW + bool + default NCURSES_WIDE_CHAR + +endif + endif |