From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-855670-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CDDF71388BF for <garchives@archives.gentoo.org>; Wed, 6 Jan 2016 18:19:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 265B6E085D; Wed, 6 Jan 2016 18:19:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A0263E085D for <gentoo-commits@lists.gentoo.org>; Wed, 6 Jan 2016 18:19:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5AD42340A9D for <gentoo-commits@lists.gentoo.org>; Wed, 6 Jan 2016 18:19:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9278FA2C for <gentoo-commits@lists.gentoo.org>; Wed, 6 Jan 2016 18:19:01 +0000 (UTC) From: "Michael Palimaka" <kensington@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" <kensington@gentoo.org> Message-ID: <1452104330.23d6d9814942a394b680d732c530a20a44731a70.kensington@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: eclass/ X-VCS-Repository: proj/qt X-VCS-Files: eclass/qt5-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 23d6d9814942a394b680d732c530a20a44731a70 X-VCS-Branch: master Date: Wed, 6 Jan 2016 18:19:01 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c4b3e371-2610-40c9-9b0e-5f32368701a8 X-Archives-Hash: c8ac30bcb8f056d9569679e0a4fd2d6f 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