diff options
author | Justin Lecher <jlec@gentoo.org> | 2016-02-01 11:50:38 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2016-02-03 10:53:01 +0100 |
commit | 8e429344bfec35c557338fb8a5b0adee88006ad5 (patch) | |
tree | 39c7702f94a42f8f385e822efa9d9773d02f6384 /eclass/wxwidgets.eclass | |
parent | wxwidgets.eclass: unset unneeded variables in global scope after usage (diff) | |
download | gentoo-8e429344bfec35c557338fb8a5b0adee88006ad5.tar.gz gentoo-8e429344bfec35c557338fb8a5b0adee88006ad5.tar.bz2 gentoo-8e429344bfec35c557338fb8a5b0adee88006ad5.zip |
wxwidgets.eclass: Only inherit eclass once
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass/wxwidgets.eclass')
-rw-r--r-- | eclass/wxwidgets.eclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass index 5c0719de5117..aaac074ac51c 100644 --- a/eclass/wxwidgets.eclass +++ b/eclass/wxwidgets.eclass @@ -58,6 +58,8 @@ # Use the -DNDEBUG preprocessor flag to disable debugging features. # (Using need-wxwidgets will do this for you, see below.) +if [[ -z ${_WXWIDGETS_ECLASS} ]]; then + inherit eutils flag-o-matic multilib # We do this in global scope so ebuilds can get sane defaults just by @@ -163,3 +165,6 @@ need-wxwidgets() { einfo "Using wxWidgets: ${wxconf}" echo } + +_WXWIDGETS_ECLASS=1 +fi |