Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH] Add missing bind for pkg_nofetch
Date: Thu, 25 Sep 2014 05:48:38
Message-Id: 1411624100-1623-1-git-send-email-mgorny@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] Add empty default src_prepare() as required by PMS by Zac Medico
1 Spotted-by: Zac Medico <zmedico@g.o>
2 ---
3 bin/phase-functions.sh | 2 ++
4 1 file changed, 2 insertions(+)
5
6 diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh
7 index 9117719..d292ad3 100644
8 --- a/bin/phase-functions.sh
9 +++ b/bin/phase-functions.sh
10 @@ -807,6 +807,8 @@ __ebuild_phase_funcs() {
11 default_src_compile() { __eapi2_src_compile; }
12
13 # bind supported phases to the defaults
14 + declare -F pkg_nofetch >/dev/null || \
15 + pkg_nofetch() { default; }
16 declare -F src_unpack >/dev/null || \
17 src_unpack() { default; }
18 declare -F src_prepare >/dev/null || \
19 --
20 2.1.1

Replies