diff options
author | Davide Pesavento <pesa@gentoo.org> | 2015-12-28 02:18:33 +0100 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2016-02-02 19:34:53 +0100 |
commit | 9973331c113c0f06a98dd6a53729ae5c6afcf37d (patch) | |
tree | f8bfd29ed0714d1aa8bfba2b14759588f770051d /eclass/qt5-build.eclass | |
parent | qt5-build.eclass: replace deprecated virtualmake usage with virtx (diff) | |
download | gentoo-9973331c113c0f06a98dd6a53729ae5c6afcf37d.tar.gz gentoo-9973331c113c0f06a98dd6a53729ae5c6afcf37d.tar.bz2 gentoo-9973331c113c0f06a98dd6a53729ae5c6afcf37d.zip |
qt5-build.eclass: move VIRTUALX_REQUIRED definition before inherit
Otherwise it has no effect.
(cherry picked from proj/qt commit 79c446995b8aaacc6e14116763c9bb92dfe2d175)
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r-- | eclass/qt5-build.eclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 8120c9f74161..284febfa59a0 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 @@ -123,13 +130,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 ###### |