2022-06-15 17:04:48 +02:00
|
|
|
$NetBSD: README.OpenBSD,v 1.17 2022/06/15 15:04:48 schmonz Exp $
|
2004-03-11 14:03:58 +01:00
|
|
|
|
|
|
|
Please read the general README file as well.
|
|
|
|
|
2022-06-01 14:07:37 +02:00
|
|
|
# Instructions
|
|
|
|
|
2022-04-07 19:39:42 +02:00
|
|
|
pkgsrc bootstrap installs several tools whose names happen to match
|
2022-04-06 02:23:30 +02:00
|
|
|
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.
|
2004-03-11 14:03:58 +01:00
|
|
|
|
2022-04-06 02:23:30 +02:00
|
|
|
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:
|
2004-03-11 14:03:58 +01:00
|
|
|
|
2022-04-06 02:23:30 +02:00
|
|
|
# cd /usr/sbin && for i in pkg_*; do mv $i $i.orig; done
|
2004-03-11 14:03:58 +01:00
|
|
|
|
2022-04-06 02:23:30 +02:00
|
|
|
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).
|
2017-01-22 19:10:35 +01:00
|
|
|
|
2022-06-01 14:07:37 +02:00
|
|
|
# Status
|
|
|
|
|
2022-06-14 07:04:23 +02:00
|
|
|
pkgsrc bootstrap has been tested on OpenBSD 7.1 (amd64, i386) with the
|
2022-04-06 02:23:30 +02:00
|
|
|
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.
|