| @@ -1,30 +1,33 @@ | | | @@ -1,30 +1,33 @@ |
1 | $NetBSD: README.OpenBSD,v 1.14 2022/06/01 12:07:37 gdt Exp $ | | 1 | $NetBSD: README.OpenBSD,v 1.15 2022/06/14 05:04:23 charlotte Exp $ |
2 | | | 2 | |
3 | Please read the general README file as well. | | 3 | Please read the general README file as well. |
4 | | | 4 | |
5 | # Instructions | | 5 | # Instructions |
6 | | | 6 | |
7 | pkgsrc bootstrap installs several tools whose names happen to match | | 7 | pkgsrc bootstrap installs several tools whose names happen to match |
8 | programs already provided by OpenBSD. The two sets of package tools are | | 8 | programs already provided by OpenBSD. The two sets of package tools are |
9 | not interchangeable, so you'll need to decide which ones should appear | | 9 | not interchangeable, so you'll need to decide which ones should appear |
10 | earlier in your PATH -- probably pkgsrc paths before system ones. | | 10 | earlier in your PATH -- probably pkgsrc paths before system ones. |
11 | | | 11 | |
12 | Once that's settled, you might think about moving OpenBSD's native | | 12 | Once that's settled, you might think about moving OpenBSD's native |
13 | package tools out of the way so they can't get invoked by mistake, | | 13 | package tools out of the way so they can't get invoked by mistake, |
14 | perhaps like so: | | 14 | perhaps like so: |
15 | | | 15 | |
16 | # cd /usr/sbin && for i in pkg_*; do mv $i $i.orig; done | | 16 | # cd /usr/sbin && for i in pkg_*; do mv $i $i.orig; done |
17 | | | 17 | |
18 | But you probably don't want to do this, because it would (for instance) | | 18 | But you probably don't want to do this, because it would (for instance) |
19 | also prevent OpenBSD's pkg_add(1) from being invoked on purpose by | | 19 | also prevent OpenBSD's pkg_add(1) from being invoked on purpose by |
20 | fw_update(1). | | 20 | fw_update(1). |
21 | | | 21 | |
22 | # Status | | 22 | # Status |
23 | | | 23 | |
24 | pkgsrc bootstrap has been tested on OpenBSD 7.0 (amd64, i386) with the | | 24 | pkgsrc bootstrap has been tested on OpenBSD 7.1 (amd64, i386) with the |
25 | system-provided clang. Earlier version/platform/compiler combinations | | 25 | system-provided clang. Earlier version/platform/compiler combinations |
26 | have previously been reported to work. | | 26 | have previously been reported to work. |
27 | | | 27 | |
| | | 28 | If the bootstrap fails for you, try adding `--prefer-pkgsrc yes` to your |
| | | 29 | bootstrap command line. |
| | | 30 | |
28 | Once bootstrapped, as is typical with pkgsrc, many packages build as is. | | 31 | Once bootstrapped, as is typical with pkgsrc, many packages build as is. |
29 | For any particular package that doesn't, fixes are often in OpenBSD | | 32 | For any particular package that doesn't, fixes are often in OpenBSD |
30 | Ports waiting to be borrowed. | | 33 | Ports waiting to be borrowed. |