summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authorsevan <sevan@pkgsrc.org>2019-12-05 22:19:56 +0000
committersevan <sevan@pkgsrc.org>2019-12-05 22:19:56 +0000
commit6af8e588ccb3dad8c4c51f2dd2ff289e0aab5445 (patch)
tree278fa127fa88f19145e2de40a35103c5b16fe703 /bootstrap/bootstrap
parentb08a98f3aa778c0f93587fa0f422d2c1464df605 (diff)
downloadpkgsrc-6af8e588ccb3dad8c4c51f2dd2ff289e0aab5445.tar.gz
Skip trying to make use of a 64bit ABI on Darwin as the system libraries on
Tiger lack support and it doesn't work out too great on Leopard either, though it's much better than the former release.
Diffstat (limited to 'bootstrap/bootstrap')
-rwxr-xr-xbootstrap/bootstrap9
1 files changed, 2 insertions, 7 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index df9105f58ab..032ed74cd05 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.272 2019/11/05 13:58:06 triaxx Exp $
+# $NetBSD: bootstrap,v 1.273 2019/12/05 22:19:56 sevan Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -226,12 +226,7 @@ get_machine_arch_darwin()
echo `uname -m`
;;
powerpc)
- # sysctl mib exists on 64-bit hardware
- if [ -n "`sysctl -n hw.optional.64bitops 2>/dev/null`" ]; then
- echo "powerpc64"
- else
- echo "powerpc"
- fi
+ echo "powerpc"
;;
esac
}