summaryrefslogtreecommitdiff
path: root/eclass/kde4-base.eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-07-24 00:14:00 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-07-24 00:14:00 +0200
commit001ba933be53882118e301105086175a46375dbc (patch)
treed625f0c119e3dcea3b83d81ac4f2a9fd76718b65 /eclass/kde4-base.eclass
parent7d3ec8ff436810bf31bfd6713107b9338d6db6b9 (diff)
downloadkde-001ba933be53882118e301105086175a46375dbc.tar.gz
kde-001ba933be53882118e301105086175a46375dbc.tar.bz2
kde-001ba933be53882118e301105086175a46375dbc.zip
kde4-base.eclass: Drop obsolete minimum GCC check
Diffstat (limited to 'eclass/kde4-base.eclass')
-rw-r--r--eclass/kde4-base.eclass12
1 files changed, 1 insertions, 11 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index b4b8ad32603..05b1bc0ed9d 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -660,7 +660,7 @@ debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: SRC_URI is ${SRC_URI}"
kde4-base_pkg_setup() {
debug-print-function ${FUNCNAME} "$@"
- if has handbook ${IUSE} || has "+handbook" ${IUSE} && [ "${KDE_HANDBOOK}" != optional ] ; then
+ if has handbook ${IUSE} || has "+handbook" ${IUSE} && [[ "${KDE_HANDBOOK}" != optional ]] ; then
eqawarn "Handbook support is enabled via KDE_HANDBOOK=optional in the ebuild."
eqawarn "Please do not just set IUSE=handbook, as this leads to dependency errors."
fi
@@ -668,16 +668,6 @@ kde4-base_pkg_setup() {
# Don't set KDEHOME during compilation, it will cause access violations
unset KDEHOME
- # Check if gcc compiler is fresh enough.
- # In theory should be in pkg_pretend but we check it only for kdelibs there
- # and for others we do just quick scan in pkg_setup because pkg_pretend
- # executions consume quite some time (ie. when merging 300 packages at once will cause 300 checks)
- if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc; then
- [[ $(gcc-major-version) -lt 4 ]] || \
- ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 6 ]] ) \
- && die "Sorry, but gcc-4.6 and earlier wont work for some KDE packages."
- fi
-
KDEDIR=/usr
: ${PREFIX:=/usr}
EKDEDIR=${EPREFIX}/usr