diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-08-08 05:21:55 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-08-08 05:22:03 +1000 |
commit | 72364b9c8af84a7fd9d2ccf3e6eab71995c16d0e (patch) | |
tree | b43f19ad809ca31b6cd34330406bae3fa44ace0d /kde-base | |
parent | net-libs/libkvkontakte: webkit is always required (diff) | |
download | gentoo-72364b9c8af84a7fd9d2ccf3e6eab71995c16d0e.tar.gz gentoo-72364b9c8af84a7fd9d2ccf3e6eab71995c16d0e.tar.bz2 gentoo-72364b9c8af84a7fd9d2ccf3e6eab71995c16d0e.zip |
kde-base/kdelibs: really 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.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kde-base/kdelibs/kdelibs-4.14.22.ebuild b/kde-base/kdelibs/kdelibs-4.14.22.ebuild index f0fcefd07ea3..f41ad2d33bb2 100644 --- a/kde-base/kdelibs/kdelibs-4.14.22.ebuild +++ b/kde-base/kdelibs/kdelibs-4.14.22.ebuild @@ -138,8 +138,8 @@ PATCHES=( ) pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - tc-is-gcc && [[ $(gcc-major-version) -lt 4 ]] || \ + if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc; then + [[ $(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 |