summaryrefslogtreecommitdiff
path: root/bootstrap/README.OpenBSD
blob: 3766fdc916675cad5b3e254ff3c9bf5a88eaa3d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: README.OpenBSD,v 1.13 2022/04/07 17:39:42 schmonz Exp $

Please read the general README file as well.

pkgsrc bootstrap installs several tools whose names happen to match
programs already provided by OpenBSD. The two sets of package tools are
not interchangeable, so you'll need to decide which ones should appear
earlier in your PATH -- probably pkgsrc paths before system ones.

Once that's settled, you might think about moving OpenBSD's native
package tools out of the way so they can't get invoked by mistake,
perhaps like so:

	# cd /usr/sbin && for i in pkg_*; do mv $i $i.orig; done

But you probably don't want to do this, because it would (for instance)
also prevent OpenBSD's pkg_add(1) from being invoked on purpose by
fw_update(1).

pkgsrc bootstrap has been tested on OpenBSD 7.0 (amd64, i386) with the
system-provided clang. Earlier version/platform/compiler combinations
have previously been reported to work.

Once bootstrapped, as is typical with pkgsrc, many packages build as is.
For any particular package that doesn't, fixes are often in OpenBSD
Ports waiting to be borrowed.