summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2011-12-10 17:28:16 +0000
committerDavide Pesavento <pesa@gentoo.org>2011-12-10 17:28:16 +0000
commit438f017fd8bc6facc6b3d90ae9ef5ad921e0f94b (patch)
treec6f9697823d98b511ae388be376c330b360d8d00 /eclass
parentAdding selinux use flag support (diff)
downloadgentoo-2-438f017fd8bc6facc6b3d90ae9ef5ad921e0f94b.tar.gz
gentoo-2-438f017fd8bc6facc6b3d90ae9ef5ad921e0f94b.tar.bz2
gentoo-2-438f017fd8bc6facc6b3d90ae9ef5ad921e0f94b.zip
Handle sparc64-* in arch configuration.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/qt4-build.eclass18
2 files changed, 13 insertions, 10 deletions
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 <pesa@gentoo.org> qt4-build.eclass:
+ Handle sparc64-* in arch configuration.
08 Dec 2011; Davide Pesavento <pesa@gentoo.org> 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