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 3036D138010 for ; Thu, 4 Oct 2012 01:22:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E6F1E045E; Thu, 4 Oct 2012 01:22:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 02980E045E for ; Thu, 4 Oct 2012 01:22:14 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 687A433D714 for ; Thu, 4 Oct 2012 01:22:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id DB50FE5436 for ; Thu, 4 Oct 2012 01:22:12 +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: <1349313659.6ff7d3b50b6f4146af73f31359706a5170b99bf0.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: 6ff7d3b50b6f4146af73f31359706a5170b99bf0 X-VCS-Branch: master Date: Thu, 4 Oct 2012 01:22:12 +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: cd360ee9-fcee-4b3f-a6ee-3f43ecdae5a5 X-Archives-Hash: ebf9b6fe7fc09c5f0ce43635b83ebf53 commit: 6ff7d3b50b6f4146af73f31359706a5170b99bf0 Author: Davide Pesavento gmail com> AuthorDate: Thu Oct 4 01:20:59 2012 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Thu Oct 4 01:20:59 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=6ff7d3b5 [qt5-build.eclass] Don't die when trying to downgrade. --- eclass/qt5-build.eclass | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index f3a2f15..943e52c 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -113,16 +113,12 @@ S=${WORKDIR}/${MY_P} # @DESCRIPTION: # Warns and/or dies if the user is trying to downgrade Qt. qt5-build_pkg_setup() { - # Protect users by not allowing downgrades between releases. - # Downgrading revisions within the same release should be allowed. + # Warn users of possible breakage when downgrading to a previous release. + # Downgrading revisions within the same release is safe. if has_version ">${CATEGORY}/${P}-r9999:${SLOT}"; then - if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then - eerror " *** Sanity check to keep you from breaking your system ***" - eerror "Downgrading Qt is completely unsupported and will break your system!" - die "aborting to save your system" - else - ewarn "Downgrading Qt is completely unsupported and will break your system!" - fi + ewarn + ewarn "Downgrading Qt is completely unsupported and can break your system!" + ewarn fi }