commit: d68b3eb31e7a76f8f94be296fc6c5fa61dc31fcb Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Tue Jul 12 21:23:15 2016 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Mon Jul 25 18:25:11 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d68b3eb3
lxqt-base/liblxqt: fix gcc version check 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lxqt-base/liblxqt/liblxqt-0.10.0.ebuild b/lxqt-base/liblxqt/liblxqt-0.10.0.ebuild index 1d47614..579019e 100644 --- a/lxqt-base/liblxqt/liblxqt-0.10.0.ebuild +++ b/lxqt-base/liblxqt/liblxqt-0.10.0.ebuild @@ -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 }
