summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/qtox/qtox-1.4.0.ebuild')
-rw-r--r--net-im/qtox/qtox-1.4.0.ebuild2
1 files changed, 1 insertions, 1 deletions
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"