Mon Jun 23 21:12:16 2008 UTC ()
Mention that if the default mk.conf doesn't already exist, the example is
copied into place.


(reed)
diff -r1.10 -r1.11 pkgsrc/bootstrap/README

cvs diff -r1.10 -r1.11 pkgsrc/bootstrap/README (switch to unified diff)

--- pkgsrc/bootstrap/README 2007/10/09 19:19:08 1.10
+++ pkgsrc/bootstrap/README 2008/06/23 21:12:16 1.11
@@ -1,52 +1,53 @@ @@ -1,52 +1,53 @@
1$NetBSD: README,v 1.10 2007/10/09 19:19:08 martti Exp $ 1$NetBSD: README,v 1.11 2008/06/23 21:12:16 reed Exp $
2 2
3To try to get pkgsrc working on your system, please try the following 3To try to get pkgsrc working on your system, please try the following
4as root: 4as root:
5 5
6# ./bootstrap 6# ./bootstrap
7 [ --workdir <workdir> ] 7 [ --workdir <workdir> ]
8 [ --prefix <prefix> ] 8 [ --prefix <prefix> ]
9 [ --pkgdbdir <pkgdbdir> ] 9 [ --pkgdbdir <pkgdbdir> ]
10 [ --sysconfdir <sysconfdir> ] 10 [ --sysconfdir <sysconfdir> ]
11 [ --varbase <varbase> ] 11 [ --varbase <varbase> ]
12 [ --ignore-case-check ] 12 [ --ignore-case-check ]
13 [ --ignore-user-check ] 13 [ --ignore-user-check ]
14 [ --preserve-path ] 14 [ --preserve-path ]
15 [ --help ] 15 [ --help ]
16 16
17The defaults for the arguments are as follows: 17The defaults for the arguments are as follows:
18 18
19 --prefix /usr/pkg 19 --prefix /usr/pkg
20 --pkgdbdir /var/db/pkg 20 --pkgdbdir /var/db/pkg
21 --sysconfdir /usr/pkg/etc 21 --sysconfdir /usr/pkg/etc
22 --varbase /var 22 --varbase /var
23 --workdir work 23 --workdir work
24 24
25It is perfectly acceptable to place 'pkgdbdir' under 'prefix'. 25It is perfectly acceptable to place 'pkgdbdir' under 'prefix'.
26 26
27The working directory will be created if it doesn't exist and has to be 27The working directory will be created if it doesn't exist and has to be
28writable by the user executing ./bootstrap. 28writable by the user executing ./bootstrap.
29 29
30Make sure that you have a working C compiler and make(1) binary in 30Make sure that you have a working C compiler and make(1) binary in
31your path. Please note that on some systems (IRIX and SunOS, for example), 31your path. Please note that on some systems (IRIX and SunOS, for example),
32the bootstrap script will look into a number of common directories for 32the bootstrap script will look into a number of common directories for
33alternative implementations of some tools. If they are found, these 33alternative implementations of some tools. If they are found, these
34directories will be prepended to the PATH variable, unless the 34directories will be prepended to the PATH variable, unless the
35'--preserve-path' flag is given. 35'--preserve-path' flag is given.
36 36
37See pkgsrc/doc/pkgsrc.txt or 37See pkgsrc/doc/pkgsrc.txt or
38http://www.netbsd.org/docs/software/packages.html for 38http://www.netbsd.org/docs/software/packages.html for
39more information about bootstrapping and using pkgsrc. 39more information about bootstrapping and using pkgsrc.
40 40
41We'd be very interested in hearing of any successes or failures on 41We'd be very interested in hearing of any successes or failures on
42"unknown" (to us) systems. 42"unknown" (to us) systems.
43 43
44Please remember to add $prefix/bin to your PATH environment variable 44Please remember to add $prefix/bin to your PATH environment variable
45and $prefix/man to your MANPATH environment variable, if necessary. 45and $prefix/man to your MANPATH environment variable, if necessary.
46(See above for --prefix and its default value.) 46(See above for --prefix and its default value.)
47 47
48The bootstrap script will create an example mk.conf file located 48The bootstrap script will create an example mk.conf file located
49in your work directory as "mk.conf.example". It contains the 49in your work directory as "mk.conf.example". It contains the
50settings you provided to the bootstrap. Copy it to your 50settings you provided to the bootstrap. Copy it to your
51$sysconfdir directory (see above about --sysconfdir and its default 51$sysconfdir directory (see above about --sysconfdir and its default
52value). 52value). If the default mk.conf doesn't already exist, the example is
 53copied into place.