From: Justin Lecher <jlec@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: wxwidgets@gentoo.org, Justin Lecher <jlec@gentoo.org>
Subject: [gentoo-dev] [PATCH 4/5] wxwidgets.eclass: Only inherit eclass ones
Date: Mon, 1 Feb 2016 12:08:32 +0100 [thread overview]
Message-ID: <1454324913-27584-5-git-send-email-jlec@gentoo.org> (raw)
In-Reply-To: <1454324913-27584-1-git-send-email-jlec@gentoo.org>
Signed-off-by: Justin Lecher <jlec@gentoo.org>
---
eclass/wxwidgets.eclass | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass
index 5c0719d..aaac074 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
--
2.7.0
next prev parent reply other threads:[~2016-02-01 11:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-01 11:08 [gentoo-dev] [PATCH 0/5] RFC: Patches for wxwidgets.eclass Justin Lecher
2016-02-01 11:08 ` [gentoo-dev] [PATCH 1/5] wxwidgets.eclass: Update Copyright year Justin Lecher
2016-02-01 11:08 ` [gentoo-dev] [PATCH 2/5] wxwidgets.eclass: Fix whitespaces Justin Lecher
2016-02-01 11:08 ` [gentoo-dev] [PATCH 3/5] wxwidgets.eclass: unset unneeded variables in global scope after usage Justin Lecher
2016-02-01 11:08 ` Justin Lecher [this message]
2016-02-01 23:18 ` [gentoo-dev] Re: [PATCH 4/5] wxwidgets.eclass: Only inherit eclass ones Duncan
2016-02-02 14:13 ` Justin Lecher (jlec)
2016-02-01 11:08 ` [gentoo-dev] [PATCH 5/5] wxwidgets.eclass: Add EAPI support Justin Lecher
2016-02-02 22:36 ` [gentoo-dev] Re: [PATCH 0/5] RFC: Patches for wxwidgets.eclass Ryan Hill
2016-02-03 9:21 ` Justin Lecher (jlec)
2016-02-03 23:15 ` Ryan Hill
2016-02-04 1:07 ` Daniel Campbell
2016-02-04 3:30 ` Ryan Hill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1454324913-27584-5-git-send-email-jlec@gentoo.org \
--to=jlec@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=wxwidgets@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox