pkgsrc/bootstrap/README.FreeBSD

28 lines
1 KiB
Text

$NetBSD: README.FreeBSD,v 1.10 2021/10/31 09:26:49 nia Exp $
Please read the general README file as well.
On legacy releases (9.3 and prior), care should be taken so that the tools
installed by this kit do not conflict with the tools already provided as part of
the FreeBSD userland.
If you do not intend to use the FreeBSD ports tools (on 9.3 and prior), it may be 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
Alternatively, take care to get pkgsrc tools first in PATH.
This is not an issue with releases of FreeBSD which solely support pkgng such as
10.0-RELEASE and newer.
Currently bootstrap is only supported using the compiler shipped in base and not
a version of GCC installed from ports, clang from ports is untested.
bootstrap-pkgsrc has been tested on FreeBSD 12-13.
For unprivileged bootstraps, note that /home on FreeBSD is a symlink to /usr/home.
Use --unprivileged --prefix /usr/home/youruser.