summaryrefslogtreecommitdiff
path: root/bootstrap/README.OpenBSD
blob: a9d1117b90e889c21ebd5d1276845bc8b81cf1b7 (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
27
28
29
30
$NetBSD: README.OpenBSD,v 1.17 2022/06/15 15:04:48 schmonz Exp $

Please read the general README file as well.

# Instructions

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).

# Status

pkgsrc bootstrap has been tested on OpenBSD 7.1 (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.