summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2010-01-17 20:28:17 +0000
committerJonathan Callen <jcallen@gentoo.org>2010-01-17 20:28:17 +0000
commita0d416d11c0d80064872a1d39f1babb97e530274 (patch)
treee51f651a3ab512e432562c9f3a6a318055a369e7 /eclass
parentDepend on virtual/editor for $EDITOR #294760 by Ulrich Müller. (diff)
downloadhistorical-a0d416d11c0d80064872a1d39f1babb97e530274.tar.gz
historical-a0d416d11c0d80064872a1d39f1babb97e530274.tar.bz2
historical-a0d416d11c0d80064872a1d39f1babb97e530274.zip
Don't use uname - CHOST has the needed information
Diffstat (limited to 'eclass')
-rw-r--r--eclass/qt4-build.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index 731c79638443..a46abbd7b922 100644
--- a/eclass/qt4-build.eclass
+++ b/eclass/qt4-build.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.60 2010/01/13 19:35:01 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.61 2010/01/17 20:28:17 abcd Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -276,7 +276,7 @@ qt4-build_src_configure() {
if use aqua ; then
# On (snow) leopard use the new (frameworked) cocoa code.
- if [[ $(uname -r | cut -d . -f 1) -ge 9 ]] ; then
+ if [[ ${CHOST##*-darwin} -ge 9 ]] ; then
myconf+=" -cocoa -framework"
# We are crazy and build cocoa + qt3support :-)