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 D764F1388BF for ; Thu, 14 Jan 2016 18:28:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4A80E07FA; Thu, 14 Jan 2016 18:28:36 +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 5A57EE07FA for ; Thu, 14 Jan 2016 18:28:36 +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 3AB7D340B25 for ; Thu, 14 Jan 2016 18:28:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 202DEA16 for ; Thu, 14 Jan 2016 18:28:30 +0000 (UTC) From: "Michael Palimaka" 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" Message-ID: <1452796086.8aae5020b96f9e252e9f3a562c89551493877bba.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: 8aae5020b96f9e252e9f3a562c89551493877bba X-VCS-Branch: master Date: Thu, 14 Jan 2016 18:28:30 +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: dfc1d6f7-32f9-48b1-9de6-beefcbaa8c31 X-Archives-Hash: 82284d200d8e1fded27e10fc5f5426cf commit: 8aae5020b96f9e252e9f3a562c89551493877bba Author: Michael Palimaka gentoo org> AuthorDate: Thu Jan 14 18:28:06 2016 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Thu Jan 14 18:28:06 2016 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=8aae5020 qt5-build.eclass: stop the eclass from being used accidentally eclass/qt5-build.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 18dff7a..fe49b00 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -12,6 +12,10 @@ # This eclass contains various functions that are used when building Qt5. # Requires EAPI 5 or 6. +if [[ ${CATEGORY} != dev-qt ]]; then + die "qt5-build.eclass is only to be used for building Qt 5." +fi + case ${EAPI} in 5|6) : ;; *) die "qt5-build.eclass: unsupported EAPI=${EAPI:-0}" ;;