1 |
Hi, |
2 |
|
3 |
Please consider promoting the use of tinfo flag in packages that |
4 |
depend on sys-libs/ncurses so that they would synchronize properly |
5 |
with sys-libs/ncurses[tinfo]. |
6 |
|
7 |
It could be as simple as: |
8 |
|
9 |
IUSE="tinfo" |
10 |
|
11 |
RDEPEND="sys-libs/ncurses[tinfo=]" |
12 |
|
13 |
pkg_setup() { |
14 |
use tinfo && export LDFLAGS="-ltinfo ${LDFLAGS}" LIBS="-ltinfo ${LIBS}" |
15 |
} |
16 |
|
17 |
The last line can be changed/enhanced, depending on the package. |
18 |
|
19 |
It helps keep binaries consistent even if sys-libs/ncurses[-tinfo] |
20 |
gets recompiled to sys-libs/ncurses[tinfo], because they are forced to |
21 |
be recompiled. This is better than hard-coded dynamic workarounds. |
22 |
|
23 |
-- |
24 |
konsolebox |