From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-939992-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 326F0139694
	for <garchives@archives.gentoo.org>; Tue, 21 Mar 2017 06:34:03 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 694A621C092;
	Tue, 21 Mar 2017 06:34:02 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 49C8621C092
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Mar 2017 06:34:02 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 2372C33E142
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Mar 2017 06:34:01 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id DCE8E6F98
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Mar 2017 06:33:59 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1490077888.5f31448766d94618df7ac25c53a05270aec344ce.ulm@gentoo>
Subject: [gentoo-commits] proj/eselect:master commit in: libs/, /
X-VCS-Repository: proj/eselect
X-VCS-Files: ChangeLog libs/package-manager.bash.in
X-VCS-Directories: libs/ /
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 5f31448766d94618df7ac25c53a05270aec344ce
X-VCS-Branch: master
Date: Tue, 21 Mar 2017 06:33:59 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: d0e39a95-e5a2-4144-89bd-fd6726c797ab
X-Archives-Hash: 3907794727721cc5e671e6cbce7049df

commit:     5f31448766d94618df7ac25c53a05270aec344ce
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 04:35:11 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 06:31:28 2017 +0000
URL:        https://gitweb.gentoo.org/proj/eselect.git/commit/?id=5f314487

Fill out arch matches a bit more in package-manager lib.

* libs/package-manager.bash.in (arch): Fill out arch matches
a bit more.

 ChangeLog                    |  5 +++++
 libs/package-manager.bash.in | 14 ++++++++------
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 20e9ad3..9508639 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-21  Mike Frysinger <vapier@gentoo.org>
+
+	* libs/package-manager.bash.in (arch): Fill out arch matches
+	a bit more.
+
 2016-12-10  Ulrich Müller  <ulm@gentoo.org>
 
 	* configure.ac: Update version to 1.4.8.

diff --git a/libs/package-manager.bash.in b/libs/package-manager.bash.in
index aececfd..8194fff 100644
--- a/libs/package-manager.bash.in
+++ b/libs/package-manager.bash.in
@@ -75,15 +75,17 @@ arch() {
 			arm*)   	ret=arm 	;;
 			hppa*)  	ret=hppa	;;
 			i?86)   	ret=x86 	;;
-			ia64)   	ret=ia64	;;
-			m68k)   	ret=m68k	;;
+			ia64*)  	ret=ia64	;;
+			m68k*)  	ret=m68k	;;
 			mips*)  	ret=mips	;;
-			powerpc)	ret=ppc 	;;
-			powerpc64)	ret=ppc64	;;
+			nios2)  	ret=nios	;;
+			or1k|or32*)	ret=openrisc;;
+			powerpc64*)	ret=ppc64	;;
+			powerpc*)	ret=ppc 	;;
+			riscv*) 	ret=riscv	;;
 			s390*)  	ret=s390	;;
 			sh*)    	ret=sh  	;;
-			sparc)  	ret=sparc	;;
-			sparc64)	ret=sparc64	;;
+			sparc*) 	ret=sparc	;;
 			x86_64) 	ret=amd64	;;
 			*)
 				write_warning_msg \