mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
kde-base/kdelibs: really avoid GCC version check failure with clang
Package-Manager: portage-2.3.0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user