From 9973331c113c0f06a98dd6a53729ae5c6afcf37d Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Mon, 28 Dec 2015 02:18:33 +0100 Subject: qt5-build.eclass: move VIRTUALX_REQUIRED definition before inherit Otherwise it has no effect. (cherry picked from proj/qt commit 79c446995b8aaacc6e14116763c9bb92dfe2d175) --- eclass/qt5-build.eclass | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'eclass/qt5-build.eclass') 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 ###### -- cgit v1.2.3-65-gdbad