Bug #240684 - Fix _ebuild_arg_to_phase() to handle the src_prepare phase
authorZac Medico <zmedico@gentoo.org>
Thu, 9 Oct 2008 19:32:20 +0000 (19:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 9 Oct 2008 19:32:20 +0000 (19:32 -0000)
so that the default() function is properly created.

svn path=/main/trunk/; revision=11664

bin/ebuild.sh

index 8ee27fc9343d2debccbe4182123a48b5fef10885..7cca4f272ae83201b666fbb538ed7f7640c42d92 100755 (executable)
@@ -1395,6 +1395,9 @@ _ebuild_arg_to_phase() {
                unpack)
                        phase_func=src_unpack
                        ;;
+               prepare)
+                       phase_func=src_prepare
+                       ;;
                configure)
                        ! hasq $eapi 0 1 2_pre1 && \
                                phase_func=src_configure