summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-09-23 23:02:37 +1000
committerMichael Palimaka <kensington@gentoo.org>2015-09-25 05:38:24 +1000
commitb8ed8550b1168204c1ef0148d68b50eb33b3d55e (patch)
treefe288496db3a1f09414564081f2140d5f205c3b6 /eclass
parentkde-apps/konsole: Disable LibKonq if USE=minimal (diff)
downloadgentoo-b8ed8550b1168204c1ef0148d68b50eb33b3d55e.tar.gz
gentoo-b8ed8550b1168204c1ef0148d68b50eb33b3d55e.tar.bz2
gentoo-b8ed8550b1168204c1ef0148d68b50eb33b3d55e.zip
kde5.eclass: don't check gcc version for binary merges
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 23e31275b150..feafd8f5fe30 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -340,7 +340,9 @@ debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: SRC_URI is ${SRC_URI}"
# Do some basic settings
kde5_pkg_pretend() {
debug-print-function ${FUNCNAME} "$@"
- _check_gcc_version
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ _check_gcc_version
+ fi
}
# @FUNCTION: kde5_pkg_setup
@@ -348,7 +350,9 @@ kde5_pkg_pretend() {
# Do some basic settings
kde5_pkg_setup() {
debug-print-function ${FUNCNAME} "$@"
- _check_gcc_version
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ _check_gcc_version
+ fi
}
# @FUNCTION: kde5_src_unpack