summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2006-11-06 21:01:42 +0000
committertv <tv@pkgsrc.org>2006-11-06 21:01:42 +0000
commite03538189ead4426d32142d0df495eda6f0dba2d (patch)
treeeb24fa7e5659872384bdbac861f11b049869e81b /bootstrap
parent967625ae6d4b55c71e2393f8abebe4a053a7df9c (diff)
downloadpkgsrc-e03538189ead4426d32142d0df495eda6f0dba2d.tar.gz
Set PKG_PRESERVE on install-sh, nbsed, nawk if installed for the current
platform as a bootstrap tool. These cannot be nuked as part of the bulk build clean cycles, or else parts of the .mk infrastructure won't work.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index df6ce2338ad..08ef4bb7a45 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.86 2006/10/13 19:09:53 rillig Exp $
+# $NetBSD: bootstrap,v 1.87 2006/11/06 21:01:42 tv Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -883,13 +883,13 @@ register_package() {
echo_msg "Registering installed packages"
run_cmd "(cd $pkgsrcdir/pkgtools/bootstrap-mk-files && $bmake MAKECONF=${MKCONF_EXAMPLE} WRKOBJDIR=$wrkobjdir bootstrap-register)"
case "$need_awk" in
-yes) register_package "lang/nawk";;
+yes) register_package "lang/nawk" "PKG_PRESERVE=yes";;
esac
case "$need_sed" in
-yes) register_package "textproc/nbsed" "LIBNBCOMPAT_STYLE=inplace";;
+yes) register_package "textproc/nbsed" "LIBNBCOMPAT_STYLE=inplace PKG_PRESERVE=yes";;
esac
case "$need_bsd_install" in
-yes) register_package "sysutils/install-sh";;
+yes) register_package "sysutils/install-sh" "PKG_PRESERVE=yes";;
esac
case "$need_extras" in
yes) register_package "pkgtools/bootstrap-extras";;