Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108675 - env-update /etc/env.d var types are hardcoded
Summary: env-update /etc/env.d var types are hardcoded
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 123504 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-09 17:37 UTC by Joe Fscken
Modified: 2007-01-28 23:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Fscken 2005-10-09 17:37:08 UTC
LADSPA_PATH will not be concatenated when defined several times (as the handbook 
states), but it definitely needs this feature, as there are many ladspa plugins 
not in portage :-/
also i suspect there are way more variables discriminated.
it would be nice if the concatenation behaviour would be configurable somehow.

Reproducible: Always
Steps to Reproduce:
1. LADSPA_PATH is defined in /etc/env.d/60ladspa
2. define it in eg. /etc/env.d/99zlocal
3. env-update && . /etc/profile

Actual Results:  
LADSPA_PATH contains only the last defined path


Expected Results:  
LADSPA_PATH should contain all defined paths as PATH and the many others also do
Comment 1 Zac Medico gentoo-dev 2005-10-09 18:10:03 UTC
(In reply to comment #0)
> it would be nice if the concatenation behaviour would be configurable somehow.

Maybe we could have settings in make.conf such as ENV_CONCAT_SPACE and
ENV_CONCAT_COLON.  They are currently hard coded inside
/usr/lib/portage/bin/env-update.sh.
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2006-04-16 14:08:59 UTC
*** Bug 123504 has been marked as a duplicate of this bug. ***
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2007-01-28 10:24:27 UTC
This was implemented a while ago.
Comment 4 Zac Medico gentoo-dev 2007-01-28 23:02:09 UTC
SPACE_SEPARATED and COLON_SEPARATED have been supported since 2.1.1-r1.  They're both space separated variables (supported directly in /etc/env.d/) that allow other variables to be added to these special groups.  See bug #146879.