EBUILD_PHASE being related to, but not exactly the same as, the active function name is annoying. i'd like to be able to dynamically script/expand func names based on the active func which means i need a variable that contains it. otherwise i have to add a stupid func like: ebuild_phase_to_func() { case ${EBUILD_PHASE} in clean) echo pkg_clean;; setup) echo pkg_setup;; ... esac } i'd suggest EBUILD_PHASE_FUNC, but i don't particularly care what the name is
PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=76ddca560da42fd968c53a2a0c38a6ac840a7ad4 Portage patch: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=cbd3ea6cad4d7ef8103ddbb71245c1ea47fa49ed
(In reply to comment #1) > PMS patch: > > http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit; > h=76ddca560da42fd968c53a2a0c38a6ac840a7ad4 Commit in master: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=293018c0bc17aff55d231e897a8967aacdef212b