Skip to content

Commit

Permalink
kde-base/kdelibs: really avoid GCC version check failure with clang
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
Michael Palimaka committed Aug 7, 2016
1 parent e376fa5 commit 72364b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kde-base/kdelibs/kdelibs-4.14.22.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72364b9

Please sign in to comment.