projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f030e15
)
Fix default() and default_src_install() definitions to account for
author
Zac Medico
<zmedico@gentoo.org>
Tue, 21 Sep 2010 03:10:12 +0000
(20:10 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 21 Sep 2010 03:10:12 +0000
(20:10 -0700)
the new EAPI 4 default src_install implementation.
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 29847c12ae30d0cff22b5f71a1a6a8d7482abe6f..2036094e3428225f408b75610c091084c89233d3 100755
(executable)
--- 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