diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libs/package-manager.bash.in | 34 |
2 files changed, 22 insertions, 17 deletions
@@ -1,3 +1,8 @@ +2018-01-23 Ulrich Müller <ulm@gentoo.org> + + * libs/package-manager.bash.in (arch): Restore sparc64 which was + lost in a previous update. Sync with arch.list in the gentoo repo. + 2018-01-09 Ulrich Müller <ulm@gentoo.org> * configure.ac: Update version to 1.4.11. diff --git a/libs/package-manager.bash.in b/libs/package-manager.bash.in index baf49df..220e09c 100644 --- a/libs/package-manager.bash.in +++ b/libs/package-manager.bash.in @@ -70,23 +70,23 @@ arch() { # Try to determine arch from HOSTTYPE and OSTYPE, which are # derived from the GNU triplet (at build time of bash) case ${HOSTTYPE} in - aarch64*) ret=arm64 ;; - alpha*) ret=alpha ;; - arm*) ret=arm ;; - hppa*) ret=hppa ;; - i?86) ret=x86 ;; - ia64*) ret=ia64 ;; - m68k*) ret=m68k ;; - mips*) ret=mips ;; - nios2) ret=nios2 ;; - or1k|or32*) ret=openrisc ;; - powerpc64*) ret=ppc64 ;; - powerpc*) ret=ppc ;; - riscv*) ret=riscv ;; - s390*) ret=s390 ;; - sh*) ret=sh ;; - sparc*) ret=sparc ;; - x86_64) ret=amd64 ;; + aarch64*) ret=arm64 ;; + alpha*) ret=alpha ;; + arm*) ret=arm ;; + hppa*) ret=hppa ;; + i?86) ret=x86 ;; + ia64*) ret=ia64 ;; + m68k*) ret=m68k ;; + mips*) ret=mips ;; + nios2) ret=nios2 ;; + powerpc64*) ret=ppc64 ;; + powerpc*) ret=ppc ;; + riscv*) ret=riscv ;; + s390*) ret=s390 ;; + sh*) ret=sh ;; + sparc64*) ret=sparc64 ;; + sparc*) ret=sparc ;; + x86_64) ret=amd64 ;; *) write_warning_msg \ "Unknown architecture \"${HOSTTYPE}\"." \ |