summaryrefslogtreecommitdiff
path: root/mk/defaults/mk.conf
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-01-24 16:14:44 +0000
committerjperkin <jperkin>2016-01-24 16:14:44 +0000
commit06b7c32135974a8c4839c7fe4856cb9f1312e0e0 (patch)
treec3c974565ac88eddb790ad36e7b99f06ff190a0a /mk/defaults/mk.conf
parent7a3f6152d179fa262274b5e0e142c21ec690b76f (diff)
downloadpkgsrc-06b7c32135974a8c4839c7fe4856cb9f1312e0e0.tar.gz
Attempt to bring sanity to how ABI and MACHINE_ARCH are set.
Previously there were at least 5 different ways MACHINE_ARCH could be set, some statically and some at run time, and in many cases these settings differed, leading to issues at pkg_add time where there was conflict between the setting encoded into the package and that used by pkg_install. Instead, move to a single source of truth where the correct value based on the host and the chosen (or default) ABI is determined in the bootstrap script. The value can still be overridden in mk.conf if necessary, e.g. for cross-compiling. ABI is now set by default and if unset a default is calculated based on MACHINE_ARCH. This fixes some OS, e.g. Linux, where the wrong default was previously chosen. As a result of the refactoring there is no need for LOWER_ARCH, with references to it replaced by MACHINE_ARCH. SPARC_TARGET_ARCH is also removed.
Diffstat (limited to 'mk/defaults/mk.conf')
-rw-r--r--mk/defaults/mk.conf7
1 files changed, 1 insertions, 6 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf
index d2a6493d1df..4d6e883bc91 100644
--- a/mk/defaults/mk.conf
+++ b/mk/defaults/mk.conf
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf,v 1.261 2016/01/20 13:29:29 khorben Exp $
+# $NetBSD: mk.conf,v 1.262 2016/01/24 16:14:44 jperkin Exp $
#
# This file provides default values for variables that may be overridden
@@ -1593,11 +1593,6 @@ SILC_CLIENT_WITH_PERL?= YES
# Possible: YES, NO
# Default: YES
-#SPARC_TARGET_ARCH= sparcv7
-# Select SPARC target architecture under Solaris.
-# Possible: sparcv7, sparcv8 or sparcv9.
-# Default: sparcv7
-
SSH_SUID?= NO
# Used in ssh to enable setuid installation of "ssh" binary.
# Possible: YES, or NO.