summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-04-16 05:00:39 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-04-21 03:15:33 +1000
commit6798179766fb312640970fc596ca3be30e969062 (patch)
tree1f780a564554593b11df5ec5187a9e44e2cceab2 /eclass
parentkde4-base.eclass: Cleanup SRC_URIs (diff)
downloadgentoo-6798179766fb312640970fc596ca3be30e969062.tar.gz
gentoo-6798179766fb312640970fc596ca3be30e969062.tar.bz2
gentoo-6798179766fb312640970fc596ca3be30e969062.zip
kde5.eclass: drop minimal gcc requirement for kde-frameworks
This will be used in a future commit for reducing the number of time-consuming gcc version checks.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5-functions.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index 44bc29631a56..dbcb229ab9ec 100644
--- a/eclass/kde5-functions.eclass
+++ b/eclass/kde5-functions.eclass
@@ -41,7 +41,12 @@ esac
# @ECLASS-VARIABLE: KDE_GCC_MINIMAL
# @DESCRIPTION:
# Minimal GCC version to require for the package.
-: ${KDE_GCC_MINIMAL:=4.8}
+if [[ ${CATEGORY} = kde-frameworks ]]; then
+ : ${KDE_GCC_MINIMAL:=4.5}
+else
+ : ${KDE_GCC_MINIMAL:=4.8}
+fi
+
# @ECLASS-VARIABLE: KDEBASE
# @DESCRIPTION: