Hi gang.
We should remember that many of our users are developers. Developers
occasionally need to install their own patched versions of an application as
part of their system. In these cases, they tend to override that package's env
vars to point different than what the system default is.
So, if you need to patch dev-java/javacc and use your own local copy,
installed in in ~/myapps/, do you expect the gentoo provided version to
keep working? I do.
The only way to solve this problem is to remove our package's requirement on
env vars in the user's env space, and have our scripts explicitly source
their conf files from /etc/env.d/java.
In the future, we'll probably adopt the common scheme
1) source /etc/env.d/java/22javacc
2) source ${HOME}/.gentoo/env.d/java/22javacc
3) run main script
This allows users to override the system-provided defaults, without polluting
their
env space.
Comments?
Kind regards,
Karl T
pgpmXnhleamVp.pgp
Description: PGP signature
|