commit:     5c27726a940ba49d683701a2ed642583bd94e3b7
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  8 00:05:52 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Fri Jan  8 00:08:59 2016 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=5c27726a

qt5-build.eclass: use separate readonly call

It's more robust apparently, see also commit
968d828e41322f5ffa55500ad253231cd534bd0b in gentoo.git

 eclass/qt5-build.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 94ea689..18dff7a 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -50,7 +50,8 @@ inherit eutils flag-o-matic toolchain-funcs versionator 
virtualx
 HOMEPAGE="https://www.qt.io/";
 LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3"
 
-readonly QT5_MINOR_VERSION=$(get_version_component_range 2)
+QT5_MINOR_VERSION=$(get_version_component_range 2)
+readonly QT5_MINOR_VERSION
 
 if [[ ${QT5_MINOR_VERSION} -ge 6 ]]; then
        # IMPORTANT: add a subslot dependency to your package only if you are 
sure

Reply via email to