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 088C8198005 for ; Mon, 18 Mar 2013 11:32:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D29EEE04ED; Mon, 18 Mar 2013 11:32:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2AA5EE031D for ; Mon, 18 Mar 2013 11:32:02 +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 40D8D33DB61 for ; Mon, 18 Mar 2013 11:32:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id D035CE4073 for ; Mon, 18 Mar 2013 11:31:59 +0000 (UTC) From: "Ben de Groot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben de Groot" Message-ID: <1363606296.d5819eb8e154f1617514cab9be25d42135293638.yngwin@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/ X-VCS-Repository: proj/qt X-VCS-Files: x11-misc/sddm/sddm-9999.ebuild X-VCS-Directories: x11-misc/sddm/ X-VCS-Committer: yngwin X-VCS-Committer-Name: Ben de Groot X-VCS-Revision: d5819eb8e154f1617514cab9be25d42135293638 X-VCS-Branch: master Date: Mon, 18 Mar 2013 11:31:59 +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: 91c708a9-18cb-48ad-84a7-f56b1c4abdab X-Archives-Hash: 4dd2128d6ee3a6b76f9b5ca481be14c9 commit: d5819eb8e154f1617514cab9be25d42135293638 Author: Ben de Groot gmail com> AuthorDate: Mon Mar 18 11:31:36 2013 +0000 Commit: Ben de Groot gentoo org> CommitDate: Mon Mar 18 11:31:36 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=d5819eb8 x11-misc/sddm: add check whether gcc-4.7 is the active compiler Package-Manager: portage-2.2.0_alpha166 --- x11-misc/sddm/sddm-9999.ebuild | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/x11-misc/sddm/sddm-9999.ebuild b/x11-misc/sddm/sddm-9999.ebuild index ac6efc9..0300134 100644 --- a/x11-misc/sddm/sddm-9999.ebuild +++ b/x11-misc/sddm/sddm-9999.ebuild @@ -3,7 +3,7 @@ # $Header: $ EAPI=5 -inherit cmake-utils git-2 +inherit cmake-utils git-2 toolchain-funcs DESCRIPTION="Simple Desktop Display Manager" HOMEPAGE="https://github.com/sddm/sddm" @@ -22,6 +22,11 @@ RDEPEND="sys-libs/pam DEPEND="${RDEPEND} >=sys-devel/gcc-4.7.0" +pkg_pretend() { + [[ $(gcc-version) < 4.7 ]] && \ + die 'The active compiler needs to be gcc 4.7 (or newer)' +} + src_prepare() { # respect our cflags sed -e 's|-Wall -march=native||' \