Handle sparc64-* in arch configuration.
authorDavide Pesavento <pesa@gentoo.org>
Sat, 10 Dec 2011 17:28:16 +0000 (17:28 +0000)
committerDavide Pesavento <pesa@gentoo.org>
Sat, 10 Dec 2011 17:28:16 +0000 (17:28 +0000)
eclass/ChangeLog
eclass/qt4-build.eclass

index 572d9da7bb16e868d9c312df77659844854d2a05..6b50c988cbecdce5664572eb361edf52a53d2626 100644 (file)
@@ -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).
index 01a77700c78144a1f9eb2df306c06052e5a2c2e9..3ca7d465a649f9a9ff2515ee18232dda9927c4df 100644 (file)
@@ -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