Skip to content

Commit

Permalink
wxwidgets.eclass: Only inherit eclass once
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Lecher <[email protected]>
  • Loading branch information
jlec committed Feb 3, 2016
1 parent 7918e98 commit 8e42934
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eclass/wxwidgets.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -163,3 +165,6 @@ need-wxwidgets() {
einfo "Using wxWidgets: ${wxconf}"
echo
}

_WXWIDGETS_ECLASS=1
fi

0 comments on commit 8e42934

Please sign in to comment.