Nano supports both ncurses and slang, but only one at a time. Which one is used is determined by the use-flags ncurses and slang, according to the following table: USE | Library used | ncurses in DEPEND | slang in DEPEND ncurses && slang | ncurses | yes | yes ncurses && !slang | ncurses | yes | no !ncurses && slang | slang | yes | yes !ncurses && !slang | ncurses | yes | no Reproducible: Always Steps to Reproduce:
Created attachment 59791 [details, diff] Proposed patch #1 This patch removes the unnecessary depends, so that it looks like this: USE | Library used | ncurses in DEPEND | slang in DEPEND ncurses && slang | ncurses | yes | no ncurses && !slang | ncurses | yes | no !ncurses && slang | slang | no | yes !ncurses && !slang | ncurses | yes | no
Created attachment 59792 [details, diff] Proposed patch #2 Alternatively, since this is effectively a simple toggle, one could do away with one of the use-flags. This patch removes ncurses from IUSE, the result is like this: USE | Library used | ncurses in DEPEND | slang in DEPEND slang | slang | no | yes !slang | ncurses | yes | no
I just noticed, ncurses is a dep of slang, but anyway...
fixed in cvs