make config-recursive for an individual port
RW
rwmaillists at googlemail.com
Sat Jan 30 22:31:43 UTC 2021
On Sat, 30 Jan 2021 10:43:42 -0700
Gary Aitken wrote:
> On 1/30/21 10:14 AM, Steve O'Hara-Smith wrote:
> > On Sat, 30 Jan 2021 17:08:28 +0000
> > RW via freebsd-questions <freebsd-questions at freebsd.org> wrote:
> >
> >> Because that's what the "-recursive" part means - configure the
> >> current port and anything it depends on. When you "make install"
> >> it will build the dependencies that aren't already installed.
>
> I understand the -recursive will configure dependent ports. What I
> don't understand is why it would configure dependent ports which are
> already installed, since they will not be reinstalled.
Because you asked it to by using the 'config-recursive' target rather
than 'config'. The config-recursive target is a lot older than pkg(8)
and it's not optimised for what you are trying to do.
Probably what you want is:
make config
make -DBATCH install
or just the second line if you want the default options for the current
port.
As already mentioned running "make missing" and pre-installing
missing packages with pkg(8) makes sense if you want to save time,
though not necessarily effort. Once you have the dependencies installed
it will probably be straightforward to maintain it, with pkg upgrade
handling the dependencies.
More information about the freebsd-questions
mailing list