pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/bootstrap
Module Name: pkgsrc
Committed By: sjmulder
Date: Tue Jul 21 15:53:10 UTC 2020
Modified Files:
pkgsrc/bootstrap: bootstrap
Log Message:
bootstrap: Fix machine_arch detection on Apple Sillicon
machine_arch was empty on Apple Sillicon. We could also use `uname -m` but that
returns arm64 which is not accepted by mk/gnu-config/config.sub.
To generate a diff of this commit:
cvs rdiff -u -r1.288 -r1.289 pkgsrc/bootstrap/bootstrap
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/bootstrap/bootstrap
diff -u pkgsrc/bootstrap/bootstrap:1.288 pkgsrc/bootstrap/bootstrap:1.289
--- pkgsrc/bootstrap/bootstrap:1.288 Wed Jul 15 10:32:12 2020
+++ pkgsrc/bootstrap/bootstrap Tue Jul 21 15:53:10 2020
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.288 2020/07/15 10:32:12 jperkin Exp $
+# $NetBSD: bootstrap,v 1.289 2020/07/21 15:53:10 sjmulder Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
# All rights reserved.
@@ -219,6 +219,9 @@ get_machine_arch_aix()
get_machine_arch_darwin()
{
case `uname -p` in
+ arm)
+ echo "aarch64"
+ ;;
i386)
# Returns "i386" or "x86_64" depending on CPU
echo `uname -m`
Home |
Main Index |
Thread Index |
Old Index