pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap Add a new option "--full" that implies all o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9ae40bad8abb
branches: trunk
changeset: 516486:9ae40bad8abb
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Jul 21 18:58:03 2006 +0000
description:
Add a new option "--full" that implies all of the platform-independent
bootstrap software will be installed, regardless of platform.
diffstat:
bootstrap/bootstrap | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diffs (55 lines):
diff -r 5646562482b7 -r 9ae40bad8abb bootstrap/bootstrap
--- a/bootstrap/bootstrap Fri Jul 21 18:46:52 2006 +0000
+++ b/bootstrap/bootstrap Fri Jul 21 18:58:03 2006 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.75 2006/07/21 18:46:52 jlam Exp $
+# $NetBSD: bootstrap,v 1.76 2006/07/21 18:58:03 jlam Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -58,6 +58,7 @@
[ --ignore-case-check ]
[ --ignore-user-check ]
[ --preserve-path ]
+ [ --full ]
[ --help ]'
# this replicates some of the logic in bsd.prefs.mk. until
@@ -250,6 +251,7 @@
pkgmandir=
sysconfdir=
varbase=
+full=
while [ $# -gt 0 ]; do
case $1 in
@@ -270,6 +272,7 @@
--ignore-case-check) ignorecasecheck=yes ;;
--ignore-user-check) ignoreusercheck=yes ;;
--preserve-path) preserve_path=yes ;;
+ --full) full=yes ;;
--help) echo "$usage"; exit ;;
-h) echo "$usage"; exit ;;
--*) echo "$usage"; exit 1 ;;
@@ -509,6 +512,19 @@
;;
esac
+# If "--full" is specified, then install all of the platform-independent
+# bootstrap software.
+#
+case "$full" in
+yes)
+ need_pax=yes
+ need_mtree=yes
+ need_bsd_install=yes
+ need_awk=yes
+ need_sed=yes
+ ;;
+esac
+
# export OPSYS and MACHINE_ARCH for pkg_install. we only set
# MACHINE_ARCH on platforms where we override bmake's value.
OPSYS=${opsys}
Home |
Main Index |
Thread Index |
Old Index