lxqt-base/liblxqt: fix gcc version check
authorAustin English <wizardedit@gentoo.org>
Tue, 12 Jul 2016 21:23:15 +0000 (16:23 -0500)
committerAustin English <wizardedit@gentoo.org>
Mon, 25 Jul 2016 18:25:11 +0000 (13:25 -0500)
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/588230

Package-Manager: portage-2.3.0

lxqt-base/liblxqt/liblxqt-0.10.0.ebuild

index 1d47614aad8b62202852a5870eea92de359cc243..579019e11935432824f81ff713eaf8e9a4759c4e 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 inherit cmake-utils
 
 DESCRIPTION="Common base library for the LXQt desktop environment"
@@ -34,7 +34,7 @@ DEPEND="${RDEPEND}
 
 pkg_pretend() {
        if [[ ${MERGE_TYPE} != binary ]]; then
-               [[ $(gcc-version) < 4.8 ]] && \
+               tc-is-gcc && [[ $(gcc-version) < 4.8 ]] && \
                die 'The active compiler needs to be gcc 4.8 (or newer)'
        fi
 }