diff options
author | grant <grant@pkgsrc.org> | 2004-03-11 13:03:58 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-03-11 13:03:58 +0000 |
commit | da1bdcdddebd7d438ea364f2408f87726ffaf5b7 (patch) | |
tree | 3434d463e0789e4ff8d9e78dbc0ec913e5aec800 /bootstrap/README.OpenBSD | |
parent | b52e1aea154aee07ce4347579905e31fcbf4ecab (diff) | |
download | pkgsrc-da1bdcdddebd7d438ea364f2408f87726ffaf5b7.tar.gz |
import the required bits of bootstrap-pkgsrc from 20040311.
Diffstat (limited to 'bootstrap/README.OpenBSD')
-rw-r--r-- | bootstrap/README.OpenBSD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/bootstrap/README.OpenBSD b/bootstrap/README.OpenBSD new file mode 100644 index 00000000000..3e2aef6d90e --- /dev/null +++ b/bootstrap/README.OpenBSD @@ -0,0 +1,32 @@ +$NetBSD: README.OpenBSD,v 1.1.1.1 2004/03/11 13:03:59 grant Exp $ + +Please read the general README file as well. + +Care should be taken so that the tools that this kit installs do not conflict +with the OpenBSD userland tools. There are several steps: + +1. OpenBSD stores its ports pkg database in /var/db/pkg. It is therefore +recommended that you choose a different location (e.g. /usr/pkgdb) by +using the --pkgdbdir option to the bootstrap script. + +2. If you do not intend to use the OpenBSD ports tools, it's probably a +good idea to move them out of the way to avoid confusion, e.g.: + cd /usr/sbin + mv pkg_add pkg_add.orig + mv pkg_create pkg_create.orig + mv pkg_delete pkg_delete.orig + mv pkg_info pkg_info.orig + +3. An example /etc/mk.conf file will be placed in mk.conf.example file +when you use the bootstrap script. OpenBSD's make program uses /etc/mk.conf +as well. You can work around this by enclosing all the pkgsrc specific parts +of the mk.conf file with: + +.ifdef BSD_PKG_MK +# Pkgsrc stuff, e.g. insert mk.conf.example or similar here +.else +# OpenBSD stuff +.endif + +bootstrap-pkgsrc has been tested on OpenBSD 3.2 (i386). Some testing has +been done on 3.0 as well. |