summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 0fcd5e304..af2b656b1 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1645,7 +1645,7 @@ done
unset x
# Lock the dbkey variables after the global phase
-declare -r ${READONLY_EBUILD_METADATA}
+[ ${EBUILD_PHASE} != "depend" ] && declare -r ${READONLY_EBUILD_METADATA}
if hasq nostrip ${FEATURES} ${RESTRICT} || hasq strip ${RESTRICT}
then