From: Davide Pesavento Date: Sat, 10 Dec 2011 17:28:16 +0000 (+0000) Subject: Handle sparc64-* in arch configuration. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ab214ea3c0a70b56bdfad568b6a78c9099fc3b20;p=gentoo.git Handle sparc64-* in arch configuration. --- diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 572d9da7bb16..6b50c988cbec 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.37 2011/12/08 17:21:45 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.38 2011/12/10 17:28:16 pesa Exp $ + + 10 Dec 2011; Davide Pesavento qt4-build.eclass: + Handle sparc64-* in arch configuration. 08 Dec 2011; Davide Pesavento qt4-build.eclass: Update HOMEPAGE (bug #388133). diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass index 01a77700c781..3ca7d465a649 100644 --- a/eclass/qt4-build.eclass +++ b/eclass/qt4-build.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.102 2011/12/08 17:21:45 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.103 2011/12/10 17:28:16 pesa Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: @@ -490,14 +490,14 @@ standard_configure_options() { # ARCH is set on Gentoo. Qt now falls back to generic on an unsupported # $(tc-arch). Therefore we convert it to supported values. case "$(tc-arch)" in - amd64|x64-*) myconf+=" -arch x86_64" ;; - ppc-macos) myconf+=" -arch ppc" ;; - ppc|ppc64|ppc-*) myconf+=" -arch powerpc" ;; - sparc|sparc-*) myconf+=" -arch sparc" ;; - x86-macos) myconf+=" -arch x86" ;; - x86|x86-*) myconf+=" -arch i386" ;; - alpha|arm|ia64|mips|s390|sparc) myconf+=" -arch $(tc-arch)" ;; - hppa|sh) myconf+=" -arch generic" ;; + amd64|x64-*) myconf+=" -arch x86_64" ;; + ppc-macos) myconf+=" -arch ppc" ;; + ppc|ppc64|ppc-*) myconf+=" -arch powerpc" ;; + sparc|sparc-*|sparc64-*) myconf+=" -arch sparc" ;; + x86-macos) myconf+=" -arch x86" ;; + x86|x86-*) myconf+=" -arch i386" ;; + alpha|arm|ia64|mips|s390) myconf+=" -arch $(tc-arch)" ;; + hppa|sh) myconf+=" -arch generic" ;; *) die "$(tc-arch) is unsupported by this eclass. Please file a bug." ;; esac