diff options
author | Davide Pesavento <pesa@gentoo.org> | 2017-05-27 01:23:52 +0200 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2017-05-27 01:23:52 +0200 |
commit | 2340956cb0c43c86e039829712bbed6eae30fb93 (patch) | |
tree | 0da1f45e6e9fb040e0db74be0bef507731c2eccb | |
parent | dev-qt/qt-creator: fix bug 617728 (diff) | |
download | gentoo-2340956cb0c43c86e039829712bbed6eae30fb93.tar.gz gentoo-2340956cb0c43c86e039829712bbed6eae30fb93.tar.bz2 gentoo-2340956cb0c43c86e039829712bbed6eae30fb93.zip |
qmake-utils.eclass: avoid dependency on eutils
-rw-r--r-- | eclass/qmake-utils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/qmake-utils.eclass b/eclass/qmake-utils.eclass index 76dc31b23729..cb5b15983307 100644 --- a/eclass/qmake-utils.eclass +++ b/eclass/qmake-utils.eclass @@ -17,7 +17,7 @@ if [[ -z ${_QMAKE_UTILS_ECLASS} ]]; then _QMAKE_UTILS_ECLASS=1 [[ ${EAPI:-0} == [012345] ]] && inherit multilib -inherit eutils toolchain-funcs +inherit estack toolchain-funcs # @FUNCTION: qt4_get_bindir # @DESCRIPTION: @@ -184,7 +184,7 @@ eqmake4() { # Make sure the CONFIG variable is correctly set for both release and debug builds. local config_add=release local config_remove=debug - if use_if_iuse debug; then + if in_iuse debug && use debug; then config_add=debug config_remove=release fi |