diff options
author | rh <rh@pkgsrc.org> | 2002-06-30 03:52:32 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2002-06-30 03:52:32 +0000 |
commit | 377a66c4939a9104d505b42888dded8fd70e4fee (patch) | |
tree | 696c953e131bfe31bd30a4eaeb600ddc34fb92da | |
parent | d895983c631450f2f88778a5a797ac4eee3b4752 (diff) | |
download | pkgsrc-377a66c4939a9104d505b42888dded8fd70e4fee.tar.gz |
Give an example on how to ensure the tree is clean for packages and
prerequisites to be updated.
-rw-r--r-- | Packages.txt | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/Packages.txt b/Packages.txt index ebe17789b12..4b265c1914b 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.254 2002/06/30 03:43:43 rh Exp $ +# $NetBSD: Packages.txt,v 1.255 2002/06/30 03:52:32 rh Exp $ ########################################################################### ========================== @@ -1432,9 +1432,20 @@ perform the equivalent of: update") or you may lose some packages you intended to update. As a rule of thumb: only use this target _before_ the first time you call "make update" and only if you have a dirty package tree - (e.g., if you used NOCLEAN). The following variables can be used - either on the command line or in /etc/mk.conf to alter the behaviour - of "make clean-update": + (e.g., if you used NOCLEAN). + + If you unsure about whether your tree is clean you can either perform + a "make clean" at the top of the tree, or use the following sequence + of commands from the directory of the package you want to update + (*before* running "make update" for the first time, otherwise you lose + all the packages you wanted to update!): + + make clean-update + make clean CLEANDEPENDS=YES + make update + + The following variables can be used either on the command line or in + /etc/mk.conf to alter the behaviour of "make clean-update": - CLEAR_DIRLIST: After "make clean", do not reconstruct the list of directories to |