From: Zetok Zalbavar Date: Sun, 10 Jul 2016 00:56:52 +0000 (+0100) Subject: net-im/qtox: properly detect whether GCC is used for compiling X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4fd3a7a20573fefa208ebfe0599620c42eef51d8;p=gentoo.git net-im/qtox: properly detect whether GCC is used for compiling Package-Manager: portage-2.2.28 --- diff --git a/net-im/qtox/qtox-1.3.0.ebuild b/net-im/qtox/qtox-1.3.0.ebuild index 5c25a9ff2cba..8c6a71430d2e 100644 --- a/net-im/qtox/qtox-1.3.0.ebuild +++ b/net-im/qtox/qtox-1.3.0.ebuild @@ -47,7 +47,7 @@ DEPEND="${RDEPEND} pkg_pretend() { if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(tc-getCXX) == *g++ ]] ; then + if tc-is-gcc ; then if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 || $(gcc-major-version) -lt 4 ]] ; then eerror "You need at least sys-devel/gcc-4.8.3" die "You need at least sys-devel/gcc-4.8.3" diff --git a/net-im/qtox/qtox-1.4.0.ebuild b/net-im/qtox/qtox-1.4.0.ebuild index ec6d329a938e..eabc0c9e6402 100644 --- a/net-im/qtox/qtox-1.4.0.ebuild +++ b/net-im/qtox/qtox-1.4.0.ebuild @@ -48,7 +48,7 @@ DEPEND="${RDEPEND} pkg_pretend() { if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(tc-getCXX) == *g++ ]] ; then + if tc-is-gcc ; then if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 || $(gcc-major-version) -lt 4 ]] ; then eerror "You need at least sys-devel/gcc-4.8.3" die "You need at least sys-devel/gcc-4.8.3" diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild index 0c69c91103c4..281c524e45b8 100644 --- a/net-im/qtox/qtox-9999.ebuild +++ b/net-im/qtox/qtox-9999.ebuild @@ -47,7 +47,7 @@ DEPEND="${RDEPEND} pkg_pretend() { if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(tc-getCXX) == *g++ ]] ; then + if tc-is-gcc ; then if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 || $(gcc-major-version) -lt 4 ]] ; then eerror "You need at least sys-devel/gcc-4.8.3" die "You need at least sys-devel/gcc-4.8.3"