Change the default PKG_DBDIR to be ${LOCALBASE}/pkgdb. Resolves issues on other BSDs which already use /var/db/pkg for the native package manager.diff -r1.12 -r1.13 pkgsrc/bootstrap/README
(jperkin)
@@ -1,39 +1,37 @@ | @@ -1,39 +1,37 @@ | |||
1 | $NetBSD: README,v 1.12 2012/01/11 01:15:17 riz Exp $ | 1 | $NetBSD: README,v 1.13 2016/11/15 11:19:09 jperkin 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 /usr/pkg/pkgdb | |
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'. | |||
26 | ||||
27 | The working directory will be created if it doesn't exist and has to be | 25 | The working directory will be created if it doesn't exist and has to be | |
28 | writable by the user executing ./bootstrap. | 26 | writable by the user executing ./bootstrap. | |
29 | 27 | |||
30 | Make sure that you have a working C compiler and make(1) binary in | 28 | 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), | 29 | 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 | 30 | the bootstrap script will look into a number of common directories for | |
33 | alternative implementations of some tools. If they are found, these | 31 | alternative implementations of some tools. If they are found, these | |
34 | directories will be prepended to the PATH variable, unless the | 32 | directories will be prepended to the PATH variable, unless the | |
35 | '--preserve-path' flag is given. | 33 | '--preserve-path' flag is given. | |
36 | 34 | |||
37 | See pkgsrc/doc/pkgsrc.txt or | 35 | See pkgsrc/doc/pkgsrc.txt or | |
38 | http://www.NetBSD.org/docs/software/packages.html for | 36 | http://www.NetBSD.org/docs/software/packages.html for | |
39 | more information about bootstrapping and using pkgsrc. | 37 | more information about bootstrapping and using pkgsrc. |
@@ -1,26 +1,21 @@ | @@ -1,26 +1,21 @@ | |||
1 | $NetBSD: README.Bitrig,v 1.1 2015/06/04 15:48:45 sevan Exp $ | 1 | $NetBSD: README.Bitrig,v 1.2 2016/11/15 11:19:09 jperkin Exp $ | |
2 | 2 | |||
3 | Please read the general README file as well. | 3 | Please read the general README file as well. | |
4 | 4 | |||
5 | Care should be taken so that the tools that this kit installs do not conflict | 5 | Care should be taken so that the tools that this kit installs do not conflict | |
6 | with the Bitrig userland tools. There are several steps: | 6 | with the Bitrig userland tools. There are several steps: | |
7 | 7 | |||
8 | 1. Bitrig stores its ports pkg database in /var/db/pkg. Therefore, you must | 8 | 1. If you do not intend to use the Bitrig ports tools, it's probably a | |
9 | choose a different location (e.g. /var/db/pkgsrc) by using the --pkgdbdir | |||
10 | option to the bootstrap script. If you don't do this, installing pkgsrc | |||
11 | packages will result in numerous PLIST errors upon install. | |||
12 | ||||
13 | 2. If you do not intend to use the Bitrig ports tools, it's probably a | |||
14 | good idea to move them out of the way to avoid confusion, e.g.: | 9 | good idea to move them out of the way to avoid confusion, e.g.: | |
15 | cd /usr/sbin | 10 | cd /usr/sbin | |
16 | mv pkg_add pkg_add.orig | 11 | mv pkg_add pkg_add.orig | |
17 | mv pkg_create pkg_create.orig | 12 | mv pkg_create pkg_create.orig | |
18 | mv pkg_delete pkg_delete.orig | 13 | mv pkg_delete pkg_delete.orig | |
19 | mv pkg_info pkg_info.orig | 14 | mv pkg_info pkg_info.orig | |
20 | 15 | |||
21 | 3. The bootstrap script will create an example mk.conf file located in | 16 | 2. The bootstrap script will create an example mk.conf file located in | |
22 | pkgsrc/bootstrap/work/mk.conf.example. It contains the settings you provided to | 17 | pkgsrc/bootstrap/work/mk.conf.example. It contains the settings you provided to | |
23 | bootstrap. Copy it to your $sysconfdir directory. If $sysconfdir/mk.conf doesn't | 18 | bootstrap. Copy it to your $sysconfdir directory. If $sysconfdir/mk.conf doesn't | |
24 | exist, the example is copied into place. | 19 | exist, the example is copied into place. | |
25 | 20 | |||
26 | bootstrap-pkgsrc has been tested on Bitrig 1.0 (amd64). | 21 | bootstrap-pkgsrc has been tested on Bitrig 1.0 (amd64). |
@@ -1,24 +1,19 @@ | @@ -1,24 +1,19 @@ | |||
1 | $NetBSD: README.FreeBSD,v 1.6 2013/12/16 10:43:09 asau Exp $ | 1 | $NetBSD: README.FreeBSD,v 1.7 2016/11/15 11:19:09 jperkin Exp $ | |
2 | 2 | |||
3 | Please read the general README file as well. | 3 | Please read the general README file as well. | |
4 | 4 | |||
5 | Care should be taken so that the tools that this kit installs do not conflict | 5 | Care should be taken so that the tools that this kit installs do not conflict | |
6 | with the FreeBSD userland tools. There are several steps: | 6 | with the FreeBSD userland tools. | |
7 | 7 | |||
8 | 1. FreeBSD stores its ports pkg database in /var/db/pkg. It is therefore | 8 | If you do not intend to use the FreeBSD ports tools, it may be a | |
9 | recommended that you choose a different location (e.g. /usr/pkg/pkgdb) by | |||
10 | using the --pkgdbdir option to the bootstrap script. | |||
11 | ||||
12 | 2. If you do not intend to use the FreeBSD ports tools, it may be a | |||
13 | good idea to move them out of the way to avoid confusion, e.g.: | 9 | good idea to move them out of the way to avoid confusion, e.g.: | |
14 | cd /usr/sbin | 10 | cd /usr/sbin | |
15 | mv pkg_add pkg_add.orig | 11 | mv pkg_add pkg_add.orig | |
16 | mv pkg_create pkg_create.orig | 12 | mv pkg_create pkg_create.orig | |
17 | mv pkg_delete pkg_delete.orig | 13 | mv pkg_delete pkg_delete.orig | |
18 | mv pkg_info pkg_info.orig | 14 | mv pkg_info pkg_info.orig | |
19 | 15 | |||
20 | Alternatively, take care to get pkgsrc tools first in PATH. | 16 | Alternatively, take care to get pkgsrc tools first in PATH. | |
21 | 17 | |||
22 | ||||
23 | bootstrap-pkgsrc has been tested on FreeBSD 4.x and 5.x (i386). | 18 | bootstrap-pkgsrc has been tested on FreeBSD 4.x and 5.x (i386). | |
24 | pkgsrc works well on FreeBSD 6.2-6.4, 7.1-7.3 (i386), 9.0-9.1 (amd64). | 19 | pkgsrc works well on FreeBSD 6.2-6.4, 7.1-7.3 (i386), 9.0-9.1 (amd64). |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | $NetBSD: README.Interix,v 1.17 2016/07/10 01:25:16 sevan Exp $ | 1 | $NetBSD: README.Interix,v 1.18 2016/11/15 11:19:09 jperkin Exp $ | |
2 | 2 | |||
3 | Interix is a POSIX-compatible subsystem for the Windows NT kernel, providing a | 3 | Interix is a POSIX-compatible subsystem for the Windows NT kernel, providing a | |
4 | Unix-like environment with a tighter kernel integration than available with | 4 | Unix-like environment with a tighter kernel integration than available with | |
5 | Cygwin. It is part of the Windows Services for Unix package, available for free | 5 | Cygwin. It is part of the Windows Services for Unix package, available for free | |
6 | for any licensed copy of Windows 2000, XP (not including XP Home), or 2003. SFU | 6 | for any licensed copy of Windows 2000, XP (not including XP Home), or 2003. SFU | |
7 | can be downloaded from http://www.microsoft.com/windows/sfu/. | 7 | can be downloaded from http://www.microsoft.com/windows/sfu/. | |
8 | 8 | |||
9 | Services for Unix 3.5 has been tested. 3.0 or 3.1 may work, but are not | 9 | Services for Unix 3.5 has been tested. 3.0 or 3.1 may work, but are not | |
10 | officially supported. (The main difference in 3.0/3.1 is lack of pthreads, but | 10 | officially supported. (The main difference in 3.0/3.1 is lack of pthreads, but | |
11 | other parts of libc may also be lacking.) | 11 | other parts of libc may also be lacking.) | |
12 | 12 | |||
13 | Services for Unix Applications (aka SUA) is an integrated component of Windows | 13 | Services for Unix Applications (aka SUA) is an integrated component of Windows | |
14 | Server 2003 R2 (5.2), Windows Vista and Windows Server 2008 (6.0), Windows 7 and | 14 | Server 2003 R2 (5.2), Windows Vista and Windows Server 2008 (6.0), Windows 7 and | |
@@ -85,27 +85,27 @@ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Se | @@ -85,27 +85,27 @@ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Se | |||
85 | 85 | |||
86 | Set the DWORD value "EnableSetuidBinaries" to 1; then reboot. | 86 | Set the DWORD value "EnableSetuidBinaries" to 1; then reboot. | |
87 | 87 | |||
88 | Important notes for using pkgsrc | 88 | Important notes for using pkgsrc | |
89 | -------------------------------- | 89 | -------------------------------- | |
90 | 90 | |||
91 | The package manager (either the pkgsrc "su" user, or the user running "pkg_add") | 91 | The package manager (either the pkgsrc "su" user, or the user running "pkg_add") | |
92 | must be a member of the local Administrators group. Such a user must also be | 92 | must be a member of the local Administrators group. Such a user must also be | |
93 | used to run the bootstrap. This is slightly relaxed from the normal pkgsrc | 93 | used to run the bootstrap. This is slightly relaxed from the normal pkgsrc | |
94 | requirement of "root". | 94 | requirement of "root". | |
95 | 95 | |||
96 | The package manager should use a umask of 002. "make install" will automatically | 96 | The package manager should use a umask of 002. "make install" will automatically | |
97 | complain if this is not the case. This ensures that directories written in | 97 | complain if this is not the case. This ensures that directories written in | |
98 | /var/db/pkg are Administrators-group writeable. | 98 | /usr/pkg/pkgdb are Administrators-group writeable. | |
99 | 99 | |||
100 | The popular Interix binary packages from http://www.interopsystems.com/ use an | 100 | The popular Interix binary packages from http://www.interopsystems.com/ use an | |
101 | older version of pkgsrc's pkg_* tools. Ideally, these should NOT be used in | 101 | older version of pkgsrc's pkg_* tools. Ideally, these should NOT be used in | |
102 | conjunction with pkgsrc. If you choose to use them at the same time as the | 102 | conjunction with pkgsrc. If you choose to use them at the same time as the | |
103 | pkgsrc packages, ensure that you use the proper pkg_* tools for each type of | 103 | pkgsrc packages, ensure that you use the proper pkg_* tools for each type of | |
104 | binary package. | 104 | binary package. | |
105 | 105 | |||
106 | The TERM setting used for DOS-type console windows (including those invoked by | 106 | The TERM setting used for DOS-type console windows (including those invoked by | |
107 | the csh and ksh startup shortcuts) is "interix". Most systems don't have a | 107 | the csh and ksh startup shortcuts) is "interix". Most systems don't have a | |
108 | termcap/terminfo entry for it, but the following .termcap entry provides | 108 | termcap/terminfo entry for it, but the following .termcap entry provides | |
109 | adequate emulation in most cases: | 109 | adequate emulation in most cases: | |
110 | 110 | |||
111 | interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi: | 111 | interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi: |
@@ -1,36 +1,32 @@ | @@ -1,36 +1,32 @@ | |||
1 | $NetBSD: README.MirBSD,v 1.2 2016/07/03 14:47:05 sevan Exp $ | 1 | $NetBSD: README.MirBSD,v 1.3 2016/11/15 11:19:09 jperkin Exp $ | |
2 | 2 | |||
3 | Please read the general README file as well. | 3 | Please read the general README file as well. | |
4 | 4 | |||
5 | pkgsrc will install the portable NetBSD make as "bmake". The standard | 5 | pkgsrc will install the portable NetBSD make as "bmake". The standard | |
6 | make(1) from MirBSD is incompatible with pkgsrc. | 6 | make(1) from MirBSD is incompatible with pkgsrc. | |
7 | 7 | |||
8 | Unless you bootstrap pkgsrc with the --unprivileged option, sudo(8) will | 8 | Unless you bootstrap pkgsrc with the --unprivileged option, sudo(8) will | |
9 | be used to gain root privileges. | 9 | be used to gain root privileges. | |
10 | 10 | |||
11 | MirPorts and pkgsrc can be installed in parallel. The MirPorts framework | 11 | MirPorts and pkgsrc can be installed in parallel. The MirPorts framework | |
12 | uses /usr/mpkg as its default prefix and /usr/mpkg/db/pkg as its package | 12 | uses /usr/mpkg as its default prefix and /usr/mpkg/db/pkg as its package | |
13 | database directory. Thus, its paths do not clash with the default | 13 | database directory. Thus, its paths do not clash with the default | |
14 | choices of pkgsrc, which are /usr/pkg and /var/db/pkg respectively. We | 14 | choices of pkgsrc, which are /usr/pkg and /usr/pkg/pkgdb respectively. | |
15 | suggest however that you place the package database for pkgsrc below its | 15 | ||
16 | prefix, for example by specifying the | 16 | Please note that the package tools from MirPorts and pkgsrc have the | |
17 | 17 | same names (e.g. pkg_add) but are incompatible. This leads to strage | ||
18 | --pkgdbdir /usr/pkg/db | 18 | behavior when building or installing packages if both frameworks are in | |
19 | 19 | your PATH. | ||
20 | option to bootstrap. Please note that the package tools from MirPorts | |||
21 | and pkgsrc have the same names (e.g. pkg_add) but are incompatible. This | |||
22 | leads to strage behavior when building or installing packages if both | |||
23 | frameworks are in your PATH. | |||
24 | 20 | |||
25 | Thus, before you start the bootstrap, you must make sure that | 21 | Thus, before you start the bootstrap, you must make sure that | |
26 | /usr/mpkg/bin and /usr/mpkg/sbin are NOT in your PATH if MirPorts is | 22 | /usr/mpkg/bin and /usr/mpkg/sbin are NOT in your PATH if MirPorts is | |
27 | already installed. Use a command like the following: | 23 | already installed. Use a command like the following: | |
28 | 24 | |||
29 | export PATH=${HOME}/.etc/bin:/usr/local/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/pkg/sbin:/usr/games | 25 | export PATH=${HOME}/.etc/bin:/usr/local/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/pkg/sbin:/usr/games | |
30 | 26 | |||
31 | Other environment variables that you may want to set are MANPATH, | 27 | Other environment variables that you may want to set are MANPATH, | |
32 | INFOPATH and XAPPLRESDIR. There should be no need to set the | 28 | INFOPATH and XAPPLRESDIR. There should be no need to set the | |
33 | LD_LIBRARY_PATH environment variable. | 29 | LD_LIBRARY_PATH environment variable. | |
34 | 30 | |||
35 | The default mk.conf will be installed in /usr/pkg/etc. It mirrors the | 31 | The default mk.conf will be installed in /usr/pkg/etc. It mirrors the | |
36 | values for CFLAGS, CPPFLAGS, and LDFLAGS retrieved from the native | 32 | values for CFLAGS, CPPFLAGS, and LDFLAGS retrieved from the native |
@@ -1,27 +1,23 @@ | @@ -1,27 +1,23 @@ | |||
1 | $NetBSD: README.OpenBSD,v 1.4 2015/04/05 00:40:07 rodent Exp $ | 1 | $NetBSD: README.OpenBSD,v 1.5 2016/11/15 11:19:09 jperkin Exp $ | |
2 | 2 | |||
3 | Please read the general README file as well. | 3 | Please read the general README file as well. | |
4 | 4 | |||
5 | Care should be taken so that the tools that this kit installs do not conflict | 5 | Care should be taken so that the tools that this kit installs do not conflict | |
6 | with the OpenBSD userland tools. There are several steps: | 6 | with the OpenBSD userland tools. There are several steps: | |
7 | 7 | |||
8 | 1. OpenBSD stores its ports pkg database in /var/db/pkg. It is therefore | 8 | 1. If you do not intend to use the OpenBSD ports tools, it's probably a | |
9 | recommended that you choose a different location (e.g. /usr/pkgdb) by | |||
10 | using the --pkgdbdir option to the bootstrap script. | |||
11 | ||||
12 | 2. If you do not intend to use the OpenBSD ports tools, it's probably a | |||
13 | good idea to move them out of the way to avoid confusion, e.g.: | 9 | good idea to move them out of the way to avoid confusion, e.g.: | |
14 | cd /usr/sbin | 10 | cd /usr/sbin | |
15 | mv pkg_add pkg_add.orig | 11 | mv pkg_add pkg_add.orig | |
16 | mv pkg_create pkg_create.orig | 12 | mv pkg_create pkg_create.orig | |
17 | mv pkg_delete pkg_delete.orig | 13 | mv pkg_delete pkg_delete.orig | |
18 | mv pkg_info pkg_info.orig | 14 | mv pkg_info pkg_info.orig | |
19 | 15 | |||
20 | 3. The bootstrap script will create an example mk.conf file located in | 16 | 2. The bootstrap script will create an example mk.conf file located in | |
21 | pkgsrc/bootstrap/work/mk.conf.example. It contains the settings you provided to | 17 | pkgsrc/bootstrap/work/mk.conf.example. It contains the settings you provided to | |
22 | bootstrap. Copy it to your $sysconfdir directory. If $sysconfdir/mk.conf doesn't | 18 | bootstrap. Copy it to your $sysconfdir directory. If $sysconfdir/mk.conf doesn't | |
23 | exist, the example is copied into place. | 19 | exist, the example is copied into place. | |
24 | 20 | |||
25 | bootstrap-pkgsrc has been tested on OpenBSD 3.2 and 3.5 (i386). Some testing has | 21 | bootstrap-pkgsrc has been tested on OpenBSD 3.2 and 3.5 (i386). Some testing has | |
26 | been done on 3.0 as well and 5.6 (amd64). It has been used successfully on 5.5 | 22 | been done on 3.0 as well and 5.6 (amd64). It has been used successfully on 5.5 | |
27 | and 5.6 (sparc64). | 23 | and 5.6 (sparc64). |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh | |
2 | 2 | |||
3 | # $NetBSD: bootstrap,v 1.233 2016/11/01 20:44:22 jperkin Exp $ | 3 | # $NetBSD: bootstrap,v 1.234 2016/11/15 11:19:09 jperkin Exp $ | |
4 | # | 4 | # | |
5 | # Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org> | 5 | # Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org> | |
6 | # All rights reserved. | 6 | # All rights reserved. | |
7 | # | 7 | # | |
8 | # Redistribution and use in source and binary forms, with or without | 8 | # Redistribution and use in source and binary forms, with or without | |
9 | # modification, are permitted provided that the following conditions | 9 | # modification, are permitted provided that the following conditions | |
10 | # are met: | 10 | # are met: | |
11 | # 1. Redistributions of source code must retain the above copyright | 11 | # 1. Redistributions of source code must retain the above copyright | |
12 | # notice, this list of conditions and the following disclaimer. | 12 | # notice, this list of conditions and the following disclaimer. | |
13 | # 2. Redistributions in binary form must reproduce the above copyright | 13 | # 2. Redistributions in binary form must reproduce the above copyright | |
14 | # notice, this list of conditions and the following disclaimer in the | 14 | # notice, this list of conditions and the following disclaimer in the | |
15 | # documentation and/or other materials provided with the distribution. | 15 | # documentation and/or other materials provided with the distribution. | |
16 | # | 16 | # | |
@@ -477,27 +477,27 @@ checkarg_sane_absolute_path "$varbase" " | @@ -477,27 +477,27 @@ checkarg_sane_absolute_path "$varbase" " | |||
477 | checkarg_sane_relative_path "$pkginfodir" "--pkginfodir" | 477 | checkarg_sane_relative_path "$pkginfodir" "--pkginfodir" | |
478 | checkarg_sane_relative_path "$pkgmandir" "--pkgmandir" | 478 | checkarg_sane_relative_path "$pkgmandir" "--pkgmandir" | |
479 | 479 | |||
480 | # set defaults for system locations if not already set by the user | 480 | # set defaults for system locations if not already set by the user | |
481 | wrkobjdir=${wrkdir}/pkgsrc | 481 | wrkobjdir=${wrkdir}/pkgsrc | |
482 | if [ "$unprivileged" = "yes" ]; then | 482 | if [ "$unprivileged" = "yes" ]; then | |
483 | [ -z "$prefix" ] && prefix=${HOME}/pkg | 483 | [ -z "$prefix" ] && prefix=${HOME}/pkg | |
484 | elif [ -z "$prefix" -o "$prefix" = "/usr/pkg" ]; then | 484 | elif [ -z "$prefix" -o "$prefix" = "/usr/pkg" ]; then | |
485 | prefix=/usr/pkg | 485 | prefix=/usr/pkg | |
486 | [ -z "$varbase" ] && varbase=/var | 486 | [ -z "$varbase" ] && varbase=/var | |
487 | fi | 487 | fi | |
488 | 488 | |||
489 | [ -z "$varbase" ] && varbase=${prefix}/var | 489 | [ -z "$varbase" ] && varbase=${prefix}/var | |
490 | [ -z "$pkgdbdir" ] && pkgdbdir=${varbase}/db/pkg | 490 | [ -z "$pkgdbdir" ] && pkgdbdir=${prefix}/pkgdb | |
491 | 491 | |||
492 | if [ "$prefix" = "/usr" ]; then | 492 | if [ "$prefix" = "/usr" ]; then | |
493 | [ -z "$pkginfodir" ] && pkginfodir=share/info | 493 | [ -z "$pkginfodir" ] && pkginfodir=share/info | |
494 | [ -z "$pkgmandir" ] && pkgmandir=share/man | 494 | [ -z "$pkgmandir" ] && pkgmandir=share/man | |
495 | else | 495 | else | |
496 | [ -z "$pkginfodir" ] && pkginfodir=info | 496 | [ -z "$pkginfodir" ] && pkginfodir=info | |
497 | [ -z "$pkgmandir" ] && pkgmandir=man | 497 | [ -z "$pkgmandir" ] && pkgmandir=man | |
498 | fi | 498 | fi | |
499 | infodir=${prefix}/${pkginfodir} | 499 | infodir=${prefix}/${pkginfodir} | |
500 | mandir=${prefix}/${pkgmandir} | 500 | mandir=${prefix}/${pkgmandir} | |
501 | [ -z "$sysconfdir" ] && sysconfdir=${prefix}/etc | 501 | [ -z "$sysconfdir" ] && sysconfdir=${prefix}/etc | |
502 | 502 | |||
503 | if [ "x$preserve_path" != "xyes" ]; then | 503 | if [ "x$preserve_path" != "xyes" ]; then |