kde5.eclass: don't check gcc version for binary merges
authorMichael Palimaka <kensington@gentoo.org>
Wed, 23 Sep 2015 13:02:37 +0000 (23:02 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Thu, 24 Sep 2015 19:38:24 +0000 (05:38 +1000)
eclass/kde5.eclass

index 23e31275b1508954811764a898c9ccbecea43fcf..feafd8f5fe304ffe11fbc169f8c01b5ef7cfc77e 100644 (file)
@@ -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