1 |
Signed-off-by: Justin Lecher <jlec@g.o> |
2 |
--- |
3 |
eclass/wxwidgets.eclass | 5 +++++ |
4 |
1 file changed, 5 insertions(+) |
5 |
|
6 |
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass |
7 |
index 5c0719d..aaac074 100644 |
8 |
--- a/eclass/wxwidgets.eclass |
9 |
+++ b/eclass/wxwidgets.eclass |
10 |
@@ -58,6 +58,8 @@ |
11 |
# Use the -DNDEBUG preprocessor flag to disable debugging features. |
12 |
# (Using need-wxwidgets will do this for you, see below.) |
13 |
|
14 |
+if [[ -z ${_WXWIDGETS_ECLASS} ]]; then |
15 |
+ |
16 |
inherit eutils flag-o-matic multilib |
17 |
|
18 |
# We do this in global scope so ebuilds can get sane defaults just by |
19 |
@@ -163,3 +165,6 @@ need-wxwidgets() { |
20 |
einfo "Using wxWidgets: ${wxconf}" |
21 |
echo |
22 |
} |
23 |
+ |
24 |
+_WXWIDGETS_ECLASS=1 |
25 |
+fi |
26 |
-- |
27 |
2.7.0 |