Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id F03657A209 for ; Wed, 1 Feb 2017 09:54:22 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 9576B855E3; Wed, 1 Feb 2017 09:54:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 25E80855E2 for ; Wed, 1 Feb 2017 09:54:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id iHhzsGyAxWTs for ; Wed, 1 Feb 2017 09:54:21 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 81A8F855DF for ; Wed, 1 Feb 2017 09:54:21 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7D2A2FBA6; Wed, 1 Feb 2017 09:54:21 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1485942861126130" MIME-Version: 1.0 Date: Wed, 1 Feb 2017 09:54:21 +0000 From: "Sevan Janiyan" Subject: CVS commit: pkgsrc/bootstrap To: pkgsrc-changes@NetBSD.org Reply-To: sevan@netbsd.org X-Mailer: log_accum Message-Id: <20170201095421.7D2A2FBA6@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1485942861126130 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: sevan Date: Wed Feb 1 09:54:21 UTC 2017 Modified Files: pkgsrc/bootstrap: bootstrap Log Message: For POWER8 systems running Linux, set $machine_arch to powerpc64le if machine hardware name is ppc64le. Automatically default to 64bit ABI for powerpc64le systems. To generate a diff of this commit: cvs rdiff -u -r1.237 -r1.238 pkgsrc/bootstrap/bootstrap Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1485942861126130 Content-Disposition: inline Content-Length: 1162 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/bootstrap/bootstrap diff -u pkgsrc/bootstrap/bootstrap:1.237 pkgsrc/bootstrap/bootstrap:1.238 --- pkgsrc/bootstrap/bootstrap:1.237 Tue Jan 10 12:30:00 2017 +++ pkgsrc/bootstrap/bootstrap Wed Feb 1 09:54:21 2017 @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.237 2017/01/10 12:30:00 jperkin Exp $ +# $NetBSD: bootstrap,v 1.238 2017/02/01 09:54:21 sevan Exp $ # # Copyright (c) 2001-2011 Alistair Crooks # All rights reserved. @@ -714,7 +714,14 @@ Linux) fi need_sed=no set_opsys=no - machine_arch=`uname -m | sed -e 's/i.86/i386/'` + case `uname -m` in + ppc64le) + machine_arch=powerpc64le + ;; + *) + machine_arch=`uname -m | sed -e 's/i.86/i386/'` + ;; + esac ;; Minix) root_group=operator @@ -866,6 +873,7 @@ powerpc/64) abi=64 machine_arch=powerpc6 powerpc/*) abi=32 machine_arch=powerpc ;; powerpc64/32) abi=32 machine_arch=powerpc ;; powerpc64/*) abi=64 machine_arch=powerpc64 ;; +powerpc64le/*) abi=64 machine_arch=powerpc64le;; # "sparc" can support 64-bit, e.g. SunOS, defaults to 32-bit. sparc/64) abi=64 machine_arch=sparc64 ;; sparc/*) abi=32 machine_arch=sparc ;; --_----------=_1485942861126130--