summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index e1c2b8720..75b5dabd1 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1156,6 +1156,13 @@ inherit() {
debug-print "*** Multiple Inheritence (Level: ${ECLASS_DEPTH})"
fi
+ if [[ -n $ECLASS && -n ${!__export_funcs_var} ]] ; then
+ echo "QA Notice: EXPORT_FUNCTIONS is called before inherit in" \
+ "$ECLASS.eclass. For compatibility with <=portage-2.1.6.7," \
+ "only call EXPORT_FUNCTIONS after inherit(s)." \
+ | fmt -w 75 | while read ; do eqawarn "$REPLY" ; done
+ fi
+
local location
local olocation
local x