diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-01-26 20:43:39 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-01-26 20:43:53 +1100 |
commit | 4817ac5148e37411f1f31f822eb5765fb5b34127 (patch) | |
tree | 02cc8a066aee4c5e64822b90c12c446d25c44e65 /kde-apps/akonadi | |
parent | sci-mathematics/wxmaxima: bump to 16.12.2 (diff) | |
download | gentoo-4817ac5148e37411f1f31f822eb5765fb5b34127.tar.gz gentoo-4817ac5148e37411f1f31f822eb5765fb5b34127.tar.bz2 gentoo-4817ac5148e37411f1f31f822eb5765fb5b34127.zip |
kde-apps/akonadi: avoid checking GCC version when using clang
Gentoo-bug: 607248
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'kde-apps/akonadi')
-rw-r--r-- | kde-apps/akonadi/akonadi-1.13.1_pre20160203-r1.ebuild | 4 |
1 files 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 a4f5fbea7bd7..3526cd018dd1 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)." |