Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2021 22:31:39 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: make config-recursive for an individual port
Message-ID:  <20210130223139.44dc3483@gumby.homeunix.com>
In-Reply-To: <a5ecd149-70f9-db5c-8bcb-db122492718f@dreamchaser.org>
References:  <5dfb1c4a-d7b3-2059-c76e-7cfd1490c812@dreamchaser.org> <20210130170828.0299f4b5@gumby.homeunix.com> <20210130171424.b9e0f55048c5c3b9cff042f5@sohara.org> <a5ecd149-70f9-db5c-8bcb-db122492718f@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210130223139.44dc3483>