From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 277481388BF for ; Fri, 8 Jan 2016 00:09:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA12D21C003; Fri, 8 Jan 2016 00:09:26 +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 5F5DE21C003 for ; Fri, 8 Jan 2016 00:09:26 +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 58778340A15 for ; Fri, 8 Jan 2016 00:09:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E2E77CFB for ; Fri, 8 Jan 2016 00:09:21 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1452211739.5c27726a940ba49d683701a2ed642583bd94e3b7.pesa@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: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: 5c27726a940ba49d683701a2ed642583bd94e3b7 X-VCS-Branch: master Date: Fri, 8 Jan 2016 00:09:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 67941a9a-f196-40f2-9948-703b87fb7458 X-Archives-Hash: a279a6b6d3b7cb3f1ab1b86ed776e22c commit: 5c27726a940ba49d683701a2ed642583bd94e3b7 Author: Davide Pesavento gentoo org> AuthorDate: Fri Jan 8 00:05:52 2016 +0000 Commit: Davide Pesavento gentoo 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