Skip to content

Commit

Permalink
lxqt-base/liblxqt: fix gcc version check
Browse files Browse the repository at this point in the history
Also update to EAPI 6

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

Package-Manager: portage-2.3.0
  • Loading branch information
austin987 committed Jul 25, 2016
1 parent 1b23311 commit d68b3eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lxqt-base/liblxqt/liblxqt-0.10.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
}

0 comments on commit d68b3eb

Please sign in to comment.