commit: 23d6d9814942a394b680d732c530a20a44731a70 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Wed Jan 6 18:16:39 2016 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Wed Jan 6 18:18:50 2016 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=23d6d981
qt5-build.eclass: use readonly instead of declare -r for QT5_MINOR_VERSION Otherwise it's not available in qt5_base_configure. eclass/qt5-build.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index d34583e..94ea689 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -50,7 +50,7 @@ inherit eutils flag-o-matic toolchain-funcs versionator virtualx HOMEPAGE="https://www.qt.io/" LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3" -declare -r QT5_MINOR_VERSION=$(get_version_component_range 2) +readonly QT5_MINOR_VERSION=$(get_version_component_range 2) if [[ ${QT5_MINOR_VERSION} -ge 6 ]]; then # IMPORTANT: add a subslot dependency to your package only if you are sure
