Date: Sun, 9 Oct 2022 07:25:14 +0100 From: Steve O'Hara-Smith <steve@sohara.org> To: questions@freebsd.org Subject: Re: pkg upgrade vs building from source Message-ID: <20221009072514.8f0fa115a2fd21c4d071fc43@sohara.org> In-Reply-To: <CAMtcK2qfE=HLtYCMxF=0XW1bateO9Hv7N4bW%2BjQ34gBh4sAF_Q@mail.gmail.com> References: <CAMtcK2rPSxd0DignXvzw%2BnNc1U1iYpBjGpN%2BtqA4zevUO4qkQA@mail.gmail.com> <e4544587-50bb-55e8-3284-58a76b3a69f7@freebsd.org> <CAMtcK2rp2JLHpWJbQHv1DQBB8MS3=ro9hbJF0orUEK3rqJ5xLw@mail.gmail.com> <3da3d329-a19d-51cd-0f78-ef77dbf66bfe@holgerdanske.com> <CAMtcK2qLsodE2QSE7uLZkoRRo7ogHNmfHGJAHTR9g2ZP8HgpfQ@mail.gmail.com> <99bb01a2-e099-4a52-808d-b1e4ec28385f@app.fastmail.com> <CAMtcK2qfE=HLtYCMxF=0XW1bateO9Hv7N4bW%2BjQ34gBh4sAF_Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20221009072514.8f0fa115a2fd21c4d071fc43>