commit: 4817ac5148e37411f1f31f822eb5765fb5b34127
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 09:43:39 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 09:43:53 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4817ac51
kde-apps/akonadi: avoid checking GCC version when using clang
Gentoo-bug: 607248
Package-Manager: Portage-2.3.3, Repoman-2.3.1
kde-apps/akonadi/akonadi-1.13.1_pre20160203-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kde-apps/akonadi/akonadi-1.13.1_pre20160203-r1.ebuild
b/kde-apps/akonadi/akonadi-1.13.1_pre20160203-r1.ebuild
index a4f5fbe..3526cd0 100644
--- a/kde-apps/akonadi/akonadi-1.13.1_pre20160203-r1.ebuild
+++ b/kde-apps/akonadi/akonadi-1.13.1_pre20160203-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -53,7 +53,7 @@ PATCHES=(
)
pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc; then
[[ $(gcc-major-version) -lt 4 ]] || \
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version)
-lt 7 ]] ) \
&& die "Sorry, but gcc-4.6 and earlier won't work (see
bug #520102)."