summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-08-07 01:24:24 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-08-07 01:24:37 +1000
commitd2f625ffc5348d8103139f32b84bac9a692a1b51 (patch)
tree7158551da3b20683f3532946f382e60e6c62a7b9 /kde-base
parentdev-perl/Graphics-ColorNames: Remove POD Author Tests (diff)
downloadgentoo-d2f625ffc5348d8103139f32b84bac9a692a1b51.tar.gz
gentoo-d2f625ffc5348d8103139f32b84bac9a692a1b51.tar.bz2
gentoo-d2f625ffc5348d8103139f32b84bac9a692a1b51.zip
kde-base/kdelibs: avoid GCC version check failure with clang
Package-Manager: portage-2.3.0
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kdelibs/kdelibs-4.14.22.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/kde-base/kdelibs/kdelibs-4.14.22.ebuild b/kde-base/kdelibs/kdelibs-4.14.22.ebuild
index c2c1f1c828ac..f0fcefd07ea3 100644
--- a/kde-base/kdelibs/kdelibs-4.14.22.ebuild
+++ b/kde-base/kdelibs/kdelibs-4.14.22.ebuild
@@ -139,7 +139,7 @@ PATCHES=(
pkg_pretend() {
if [[ ${MERGE_TYPE} != binary ]]; then
- [[ $(gcc-major-version) -lt 4 ]] || \
+ tc-is-gcc && [[ $(gcc-major-version) -lt 4 ]] || \
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \
&& die "Sorry, but gcc-4.3 and earlier won't work for KDE SC 4.6 (see bug #354837)."
fi