summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 29847c12a..2036094e3 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1599,6 +1599,16 @@ _ebuild_phase_funcs() {
eval "default() { _eapi2_$phase_func \"\$@\" ; }"
+ case $eapi in
+ 2|3)
+ ;;
+ *)
+ eval "default_src_install() { _eapi4_src_install \"\$@\" ; }"
+ [[ $phase_func = src_install ]] && \
+ eval "default() { _eapi4_$phase_func \"\$@\" ; }"
+ ;;
+ esac
+
else
for x in $default_phases ; do