env-update handles some variables specially by concatenating their values if they are specified in multiple files in /etc/env.d/. The handbook includes some information about that in the section "The env-update Script". But one useful information is missing there: You can activate this concatenation behavior for additional environment vars by adding them to one of the COLON_SEPARATED or SPACE_SEPARATED variables (also inside an env.d file). Proposed text: The concatenation of variables does not always happen, only with the following variables: KDEDIRS, PATH, LDPATH, MANPATH, INFODIR, INFOPATH, ROOTPATH, CONFIG_PROTECT, CONFIG_PROTECT_MASK, PRELINK_PATH and PRELINK_PATH_MASK. For all other variables the latest defined value (in alphabetical order of the files in /etc/env.d) is used. +If you need this concatenation behavior for other variables, you can add their names to one of the +COLON_SEPARATED or SPACE_SEPARATED variables (also inside an env.d file).
Doesn't that also mean that COLON_SEPARATED and SPACE_SEPARATED are variables that are handled as such?
Aha, those two special variables aren't exported (cfr /usr/lib/portage/pym/portage/util/env_update.py file)
Thanks a log for the suggestion. i've updated the handbook in CVS.