Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/qtox/
Date: Wed, 13 Jul 2016 18:22:34
Message-Id: 1468434134.4fd3a7a20573fefa208ebfe0599620c42eef51d8.kensington@gentoo
1 commit: 4fd3a7a20573fefa208ebfe0599620c42eef51d8
2 Author: Zetok Zalbavar <zetok <AT> openmailbox <DOT> org>
3 AuthorDate: Sun Jul 10 00:56:52 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 13 18:22:14 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd3a7a2
7
8 net-im/qtox: properly detect whether GCC is used for compiling
9
10 Package-Manager: portage-2.2.28
11
12 net-im/qtox/qtox-1.3.0.ebuild | 2 +-
13 net-im/qtox/qtox-1.4.0.ebuild | 2 +-
14 net-im/qtox/qtox-9999.ebuild | 2 +-
15 3 files changed, 3 insertions(+), 3 deletions(-)
16
17 diff --git a/net-im/qtox/qtox-1.3.0.ebuild b/net-im/qtox/qtox-1.3.0.ebuild
18 index 5c25a9f..8c6a714 100644
19 --- a/net-im/qtox/qtox-1.3.0.ebuild
20 +++ b/net-im/qtox/qtox-1.3.0.ebuild
21 @@ -47,7 +47,7 @@ DEPEND="${RDEPEND}
22
23 pkg_pretend() {
24 if [[ ${MERGE_TYPE} != binary ]]; then
25 - if [[ $(tc-getCXX) == *g++ ]] ; then
26 + if tc-is-gcc ; then
27 if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 || $(gcc-major-version) -lt 4 ]] ; then
28 eerror "You need at least sys-devel/gcc-4.8.3"
29 die "You need at least sys-devel/gcc-4.8.3"
30
31 diff --git a/net-im/qtox/qtox-1.4.0.ebuild b/net-im/qtox/qtox-1.4.0.ebuild
32 index ec6d329..eabc0c9 100644
33 --- a/net-im/qtox/qtox-1.4.0.ebuild
34 +++ b/net-im/qtox/qtox-1.4.0.ebuild
35 @@ -48,7 +48,7 @@ DEPEND="${RDEPEND}
36
37 pkg_pretend() {
38 if [[ ${MERGE_TYPE} != binary ]]; then
39 - if [[ $(tc-getCXX) == *g++ ]] ; then
40 + if tc-is-gcc ; then
41 if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 || $(gcc-major-version) -lt 4 ]] ; then
42 eerror "You need at least sys-devel/gcc-4.8.3"
43 die "You need at least sys-devel/gcc-4.8.3"
44
45 diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild
46 index 0c69c91..281c524 100644
47 --- a/net-im/qtox/qtox-9999.ebuild
48 +++ b/net-im/qtox/qtox-9999.ebuild
49 @@ -47,7 +47,7 @@ DEPEND="${RDEPEND}
50
51 pkg_pretend() {
52 if [[ ${MERGE_TYPE} != binary ]]; then
53 - if [[ $(tc-getCXX) == *g++ ]] ; then
54 + if tc-is-gcc ; then
55 if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 || $(gcc-major-version) -lt 4 ]] ; then
56 eerror "You need at least sys-devel/gcc-4.8.3"
57 die "You need at least sys-devel/gcc-4.8.3"