| Summary: | sys-apps/less - ebuild doesn't need ncurses | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | jan vereecke <vereecke.jan> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | darkside |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Isn't ldd correct?
%% ldd /usr/bin/less
linux-vdso.so.1 => (0x00007fffde3fe000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f5cd5da9000)
libc.so.6 => /lib/libc.so.6 (0x00007f5cd5a54000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f5cd5850000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5cd6011000)
%% qfile libncursesw.so.5
sys-libs/ncurses (/lib64/libncursesw.so.5)
less needs a terminal library. ncurses is the only realistic option for Gentoo systems. |
According to the homepage of less, there is no dependency of less on ncurses. Reproducible: Always Steps to Reproduce: grep ncurses /usr/portage/sys-apps/less/ show a dependency on ncurses. Expected Results: there should be no 'DEPEND' line in the ebuild. Probably this depend has been added because of the lines export ac_cv_lib_ncursesw_initscr=$(yesno unicode) export ac_cv_lib_ncurses_initscr=$(yesno !unicode) These lines can stay in the ebuild, even if ncurses is not available on the platform.