Re: CURRENT: bothering DESTDIR=/ issue after pkg base install
Date: Sun, 21 Dec 2025 09:55:47 UTC
A FreeBSD User <freebsd@walstatt-de.de> writes:
> I'd like to go back to the status quo ante, without defining DESTDIR=/
> in /etc/src.conf, but it seems I'm to blunt to find the correct
> "switch".
You have converted your system to pkgbase and want to switch back to
updating from source.
If you have pkg 2.5.0 or newer:
pkg unregister -fg FreeBSD-\*
otherwise:
pkg shell "delete from packages where origin like 'base/%';"
Remember to run `make delete-old` after `make installworld` to remove
files that were installed by pkgbase but are excluded from your build.
DES
--
Dag-Erling Smørgrav - des@FreeBSD.org