Re: pkg upgrade vs building from source

From: Steve O'Hara-Smith <steve_at_sohara.org>
Date: Sun, 09 Oct 2022 06:25:14 UTC
On Sat, 8 Oct 2022 16:25:24 -0700
paul beard <paulbeard@gmail.com> wrote:

> It would be best to rely on one or the other, to be sure. Pkg handles the
> registration of ports/pkgs alike so not sure if I can query if a port was
> built from source or as a pkg. I don't think I have installed many from
> source, just postfix for certain. That may have been unduly hasty.

	One catch when mixing a few ports into a mostly package based setup
is that the port build often builds dependencies which can then get used by
packages installed later. The trick is to use make install-missing-packages
before building (I used to use pkg install -A `make missing` before I
discovered that). Then pkg lock the port.

-- 
Steve O'Hara-Smith <steve@sohara.org>