Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2007 14:37:07 -0700 (PDT)
From:      Doug Barton <dougb@FreeBSD.org>
To:        Erwin Lansing <erwin@FreeBSD.org>
Cc:        freebsd-current@freebsd.org, Hans Petter Selasky <hselasky@c2i.net>
Subject:   Re: Ports and configuration
Message-ID:  <alpine.BSF.0.999.0708271435350.46856@qbhto.arg>
In-Reply-To: <20070827104738.GX93965@droso.net>
References:  <200708270922.06233.hselasky@c2i.net> <20070827104738.GX93965@droso.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Aug 2007, Erwin Lansing wrote:

> On Mon, Aug 27, 2007 at 09:22:05AM +0200, Hans Petter Selasky wrote:
>> Hi,
>>
>> When you install a port that has several sub-ports, is there way to run
>> through all the configuration menus recursivly, so that the compilation does
>> not stop all the time asking for user input?
>>
> There is a config-recursive target in ports, so a simple 'make
> config-recursive' in the master port should do the trick for you.

That's true if the options you choose don't change the dependencies, but 
if they do, you're liable to miss something.

What portmaster does is to run make config in the parent, then build the 
dependency list. Then it spawns a new child for each dependency that needs 
to be rebuilt, and repeats the process. That way you can be sure that 
you've updated everything before the build starts.

hth,

Doug

-- 

     This .signature sanitized for your protection




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