aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2015-12-28 02:18:33 +0100
committerDavide Pesavento <pesa@gentoo.org>2015-12-28 02:18:33 +0100
commit79c446995b8aaacc6e14116763c9bb92dfe2d175 (patch)
treef4d3cd5f54a33c7774b203ba4d8ecabcd5bf4495
parentqt5-build.eclass: respect nonfatal in qt5_foreach_target_subdir() (diff)
downloadqt-79c44699.tar.gz
qt-79c44699.tar.bz2
qt-79c44699.zip
qt5-build.eclass: move VIRTUALX_REQUIRED definition before inherit
Otherwise it has no effect.
-rw-r--r--eclass/qt5-build.eclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 9eb17b38..d30cb98a 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -17,6 +17,13 @@ case ${EAPI} in
*) die "qt5-build.eclass: unsupported EAPI=${EAPI:-0}" ;;
esac
+# @ECLASS-VARIABLE: VIRTUALX_REQUIRED
+# @DESCRIPTION:
+# For proper description see virtualx.eclass man page.
+# Here we redefine default value to be manual, if your package needs virtualx
+# for tests you should proceed with setting VIRTUALX_REQUIRED=test.
+: ${VIRTUALX_REQUIRED:=manual}
+
[[ ${EAPI} == 5 ]] && inherit multilib
inherit eutils flag-o-matic toolchain-funcs versionator virtualx
@@ -130,13 +137,6 @@ esac
# definitions, which are then merged together with all other Qt5 packages
# installed on the system to obtain the global qconfig.{h,pri} files.
-# @ECLASS-VARIABLE: VIRTUALX_REQUIRED
-# @DESCRIPTION:
-# For proper description see virtualx.eclass man page.
-# Here we redefine default value to be manual, if your package needs virtualx
-# for tests you should proceed with setting VIRTUALX_REQUIRED=test.
-: ${VIRTUALX_REQUIRED:=manual}
-
###### Phase functions ######