net-im/qtox: properly detect whether GCC is used for compiling

Package-Manager: portage-2.2.28
This commit is contained in:
Zetok Zalbavar
2016-07-14 04:22:14 +10:00
committed by Michael Palimaka
parent 9a08eb7276
commit 4fd3a7a205
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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"