| @@ -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 | |
3 | To try to get pkgsrc working on your system, please try the following | | 3 | To try to get pkgsrc working on your system, please try the following |
4 | as root: | | 4 | as 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 | |
17 | The defaults for the arguments are as follows: | | 17 | The 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 | |
25 | It is perfectly acceptable to place 'pkgdbdir' under 'prefix'. | | 25 | It is perfectly acceptable to place 'pkgdbdir' under 'prefix'. |
26 | | | 26 | |
27 | The working directory will be created if it doesn't exist and has to be | | 27 | The working directory will be created if it doesn't exist and has to be |
28 | writable by the user executing ./bootstrap. | | 28 | writable by the user executing ./bootstrap. |
29 | | | 29 | |
30 | Make sure that you have a working C compiler and make(1) binary in | | 30 | Make sure that you have a working C compiler and make(1) binary in |
31 | your path. Please note that on some systems (IRIX and SunOS, for example), | | 31 | your path. Please note that on some systems (IRIX and SunOS, for example), |
32 | the bootstrap script will look into a number of common directories for | | 32 | the bootstrap script will look into a number of common directories for |
33 | alternative implementations of some tools. If they are found, these | | 33 | alternative implementations of some tools. If they are found, these |
34 | directories will be prepended to the PATH variable, unless the | | 34 | directories will be prepended to the PATH variable, unless the |
35 | '--preserve-path' flag is given. | | 35 | '--preserve-path' flag is given. |
36 | | | 36 | |
37 | See pkgsrc/doc/pkgsrc.txt or | | 37 | See pkgsrc/doc/pkgsrc.txt or |
38 | http://www.netbsd.org/docs/software/packages.html for | | 38 | http://www.netbsd.org/docs/software/packages.html for |
39 | more information about bootstrapping and using pkgsrc. | | 39 | more information about bootstrapping and using pkgsrc. |
40 | | | 40 | |
41 | We'd be very interested in hearing of any successes or failures on | | 41 | We'd be very interested in hearing of any successes or failures on |
42 | "unknown" (to us) systems. | | 42 | "unknown" (to us) systems. |
43 | | | 43 | |
44 | Please remember to add $prefix/bin to your PATH environment variable | | 44 | Please remember to add $prefix/bin to your PATH environment variable |
45 | and $prefix/man to your MANPATH environment variable, if necessary. | | 45 | and $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 | |
48 | The bootstrap script will create an example mk.conf file located | | 48 | The bootstrap script will create an example mk.conf file located |
49 | in your work directory as "mk.conf.example". It contains the | | 49 | in your work directory as "mk.conf.example". It contains the |
50 | settings you provided to the bootstrap. Copy it to your | | 50 | settings 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 |
52 | value). | | 52 | value). If the default mk.conf doesn't already exist, the example is |
| | | 53 | copied into place. |