aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-07-10 16:29:45 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-07-11 01:08:45 +0100
commitc9ef0dbfabafa9e8f7fa26a393b356451744fd02 (patch)
tree50a93a0bc95a893c05cafa6801061c7e41d89d9e /paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
parent816b3ad494e1aea8c6b7bd8c7ef40b6d89613270 (diff)
downloadpaludis-c9ef0dbfabafa9e8f7fa26a393b356451744fd02.tar.gz
paludis-c9ef0dbfabafa9e8f7fa26a393b356451744fd02.tar.xz
Annotate where deps, myoptions come from
Fixes: ticket:735
Diffstat (limited to 'paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash')
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash7
1 files changed, 6 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
index fc690e3..2fdf9a0 100644
--- a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
@@ -174,7 +174,12 @@ require()
for v in ${PALUDIS_BRACKET_MERGED_VARIABLES} ; do
local e_v="E_${v}"
- export -n ${e_v}="${!e_v} ( ${!v} )"
+ if has "${v}" ${PALUDIS_BRACKET_MERGED_VARIABLES_ANNOTATABLE} ; then
+ export -n ${e_v}="${!e_v} ( ${!v} ) [[ ${PALUDIS_BRACKET_MERGED_VARIABLES_ANNOTATION} =
+ [ ${CURRENT_EXLIB}.exlib ] ]]"
+ else
+ export -n ${e_v}="${!e_v} ( ${!v} )"
+ fi
done
for v in ${PALUDIS_SOURCE_MERGED_VARIABLES} ${PALUDIS_BRACKET_MERGED_VARIABLES} ; do