1 |
On Thu, Nov 25, 2021 at 12:01 PM Piotr Karbowski <slashbeast@g.o> wrote: |
2 |
> |
3 |
> > https://github.com/gentoo/gentoo/blob/master/sys-libs/glibc/glibc-2.34-r2.ebuild#L643 |
4 |
> |
5 |
> Would you see something like this on more ebuilds, postgres, mysql, |
6 |
> elasticsearch, or have proper FEATURE flag for it instead? |
7 |
> |
8 |
> It's all cool and giggles until you realize that even such random |
9 |
> variable is not even prefixed with PORTAGE_ or anything, meaning it |
10 |
> could be taken out of shell and meant for entirely different thing. |
11 |
|
12 |
Another problem with such magic variables is that they are ineffective |
13 |
when installing binpkgs. During pkg_preinst, portage will restore the |
14 |
environment variables that were present when the package was built, |
15 |
and ignore anything you have set in the environment since then. |