1 |
On Thu, Oct 1, 2020 at 1:07 AM Ulrich Mueller <ulm@g.o> wrote: |
2 |
> |
3 |
> >>>>> On Thu, 01 Oct 2020, Matt Turner wrote: |
4 |
> |
5 |
> > - [[ ${PN} = font-misc-misc || ${PN} = font-schumacher-misc || ${PN##*-} = 75dpi || ${PN##*-} = 100dpi || ${PN##*-} = cyrillic ]] && IUSE+=" nls" |
6 |
> > + case ${PN#font-} in |
7 |
> > + adobe-100dpi|adobe-utopia-100dpi|bh-100dpi|bh-lucidatypewriter-100dpi|\ |
8 |
> > + adobe-75dpi |adobe-utopia-75dpi |bh-75dpi |bh-lucidatypewriter-75dpi|\ |
9 |
> > + misc-misc|schumacher-misc) |
10 |
> > + IUSE+=" nls" |
11 |
> > + ;; |
12 |
> > + esac |
13 |
> |
14 |
> This looks like the kind of logic that would better be moved to ebuilds. |
15 |
> Especially when it has just proven to be error prone. |
16 |
|
17 |
Yeah, that seems like a good idea. In fact, that seems easier since |
18 |
it's actually xorg-3_font_configure() that uses the presence of nls to |
19 |
choose configure arguments. I think I can simply add IUSE="nls" to the |
20 |
relevant packages and remove this code from the eclass. |
21 |
|
22 |
Thanks for making me think through that again! |