Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 2/4] epunt-cxx.eclass: Inherit eutils for eqawarn
Date: Fri, 14 Apr 2017 19:34:14
Message-Id: 20170414193215.12952-2-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/4] eutils.eclass: Remove implicit epunt-cxx inherit by "Michał Górny"
1 Now that eutils does not inherit epunt-cxx implicitly, we can reverse
2 the inherit without having circular dependencies.
3 ---
4 eclass/epunt-cxx.eclass | 10 ++--------
5 1 file changed, 2 insertions(+), 8 deletions(-)
6
7 diff --git a/eclass/epunt-cxx.eclass b/eclass/epunt-cxx.eclass
8 index 660b1d138fac..b7c944e281df 100644
9 --- a/eclass/epunt-cxx.eclass
10 +++ b/eclass/epunt-cxx.eclass
11 @@ -11,14 +11,8 @@
12
13 if [[ -z ${_EPUNT_CXX_ECLASS} ]]; then
14
15 -# TODO: replace this with 'inherit eutils' once eutils stops inheriting
16 -# us
17 -if ! declare -F eqawarn >/dev/null ; then
18 - eqawarn() {
19 - has qa ${PORTAGE_ELOG_CLASSES} && ewarn "$@"
20 - :
21 - }
22 -fi
23 +# eutils for eqawarn
24 +inherit eutils
25
26 # If an overlay has eclass overrides, but doesn't actually override the
27 # libtool.eclass, we'll have ECLASSDIR pointing to the active overlay's
28 --
29 2.12.2