summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-12-21 23:07:29 +0000
committerZac Medico <zmedico@gentoo.org>2008-12-21 23:07:29 +0000
commitad8aa5275844e8fa9e4575f1adc008312545a607 (patch)
tree899cd90291b832a15a2be606cbc2a6a95c355f8e
parentc145769898dedaec2fd5e71f4f24a1d331489e8c (diff)
downloadportage-ad8aa5275844e8fa9e4575f1adc008312545a607.tar.gz
portage-ad8aa5275844e8fa9e4575f1adc008312545a607.tar.bz2
portage-ad8aa5275844e8fa9e4575f1adc008312545a607.zip
Fix DEFINED_PHASES code to check for pkg_config and pkg_info functions.
svn path=/main/trunk/; revision=12274
-rwxr-xr-xbin/ebuild.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index bab8eca2c..842e2ffab 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -2065,13 +2065,13 @@ ebuild_main() {
local valid_phases
case $eapi in
0|1)
- valid_phases="src_compile src_install pkg_nofetch
- pkg_postinst pkg_postrm pkg_preinst pkg_prerm pkg_setup
- src_test src_unpack"
+ valid_phases="src_compile pkg_config pkg_info src_install
+ pkg_nofetch pkg_postinst pkg_postrm pkg_preinst pkg_prerm
+ pkg_setup src_test src_unpack"
;;
*)
- valid_phases="src_compile src_configure src_install
- pkg_nofetch pkg_postinst pkg_postrm pkg_preinst
+ valid_phases="src_compile pkg_config src_configure pkg_info
+ src_install pkg_nofetch pkg_postinst pkg_postrm pkg_preinst
src_prepare pkg_prerm pkg_setup src_test src_unpack"
;;
esac