summaryrefslogtreecommitdiff
path: root/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
commit3af1bb6895fbe9491defcc9fe9b8eadbaa20b75d (patch)
tree2c13463c81a8883537dbfb2b20b6fb37b08d9508 /bootstrap
parent9914ee7a3cea10a9e74f1aa149fbf03451f6c8eb (diff)
downloadpkgsrc-3af1bb6895fbe9491defcc9fe9b8eadbaa20b75d.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')
-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
}