diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-01-17 20:28:17 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-01-17 20:28:17 +0000 |
commit | 673a261825ac0762c54b0f5bdd5d1a47de301b3d (patch) | |
tree | 69ba49d74137ac23428d110930b355082e5a0c1c /eclass | |
parent | Depend on virtual/editor for $EDITOR #294760 by Ulrich Müller. (diff) | |
download | gentoo-2-673a261825ac0762c54b0f5bdd5d1a47de301b3d.tar.gz gentoo-2-673a261825ac0762c54b0f5bdd5d1a47de301b3d.tar.bz2 gentoo-2-673a261825ac0762c54b0f5bdd5d1a47de301b3d.zip |
Don't use uname - CHOST has the needed information
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt4-build.eclass | 4 |
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 :-) |