1 |
On Fri, Jun 16, 2017 at 10:34 AM, R0b0t1 <r030t1@×××××.com> wrote: |
2 |
> |
3 |
> Is it not possible to add it via a USE flag? Even if there are no real |
4 |
> compile time options, could the flag pull in ntp? |
5 |
|
6 |
Could a USE flag do this? Sure. Should it? No. |
7 |
|
8 |
"The usage of a USE flag should not control runtime dependencies when |
9 |
the package does not link to it. Doing so will create extra |
10 |
configuration for the package and re-compilation for no underlying |
11 |
file change on disk. This should be avoided and instead can be |
12 |
conveyed to the user via post install messages if needed." |
13 |
https://devmanual.gentoo.org/general-concepts/use-flags/ |
14 |
|
15 |
If this is an optional runtime dependency the general practice is to |
16 |
just output a message after installation. Adding dependencies or USE |
17 |
flags are both poor solutions in these situations. |
18 |
|
19 |
GLEP 62 was actually created to address this, but it hasn't gone |
20 |
anywhere. To be fair, just printing an elog message isn't that |
21 |
painful a solution. |
22 |
|
23 |
-- |
24 |
Rich |