pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap Set PKG_PRESERVE on install-sh, nbsed, nawk ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0eaf242fca8
branches:  trunk
changeset: 521209:b0eaf242fca8
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Nov 06 21:01:42 2006 +0000

description:
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:

 bootstrap/bootstrap |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r fff30d9af0bd -r b0eaf242fca8 bootstrap/bootstrap
--- a/bootstrap/bootstrap       Mon Nov 06 20:59:49 2006 +0000
+++ b/bootstrap/bootstrap       Mon Nov 06 21:01:42 2006 +0000
@@ -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 @@
 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";;



Home | Main Index | Thread Index | Old Index