projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1f5835
)
kde5.eclass: drop minimal gcc requirement for kde-frameworks
author
Michael Palimaka
<kensington@gentoo.org>
Fri, 15 Apr 2016 19:00:39 +0000
(
05:00
+1000)
committer
Michael Palimaka
<kensington@gentoo.org>
Wed, 20 Apr 2016 17:15:33 +0000
(
03:15
+1000)
This will be used in a future commit for reducing the number of time-consuming
gcc version checks.
eclass/kde5-functions.eclass
patch
|
blob
|
history
diff --git
a/eclass/kde5-functions.eclass
b/eclass/kde5-functions.eclass
index 44bc29631a56ad69f3e6bb13014c9d7e48d6217d..dbcb229ab9ec2a86285c858eb292bfbf89dd761c 100644
(file)
--- 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: