epunt-cxx.eclass: Inherit eutils for eqawarn
authorMichał Górny <mgorny@gentoo.org>
Fri, 14 Apr 2017 19:06:03 +0000 (21:06 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 25 Apr 2017 17:57:55 +0000 (19:57 +0200)
Now that eutils does not inherit epunt-cxx implicitly, we can reverse
the inherit without having circular dependencies.

eclass/epunt-cxx.eclass

index 660b1d138fac429eaf2b3572288a381ce4f2b20f..b7c944e281df667212f2b6bdaee0a118513cc9d6 100644 (file)
 
 if [[ -z ${_EPUNT_CXX_ECLASS} ]]; then
 
-# TODO: replace this with 'inherit eutils' once eutils stops inheriting
-# us
-if ! declare -F eqawarn >/dev/null ; then
-       eqawarn() {
-               has qa ${PORTAGE_ELOG_CLASSES} && ewarn "$@"
-               :
-       }
-fi
+# eutils for eqawarn
+inherit eutils
 
 # If an overlay has eclass overrides, but doesn't actually override the
 # libtool.eclass, we'll have ECLASSDIR pointing to the active overlay's