Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2011 07:18:30 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Paul Macdonald <paul@ifdnrg.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: which ports require dialog during update
Message-ID:  <alpine.BSF.2.00.1110210711100.34680@wonkity.com>
In-Reply-To: <4EA12507.7090703@ifdnrg.com>
References:  <4EA12507.7090703@ifdnrg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Oct 2011, Paul Macdonald wrote:

> Can i programmatically tell if user input is required?

It might require reinventing the logic used by the ports system 
Makefiles.  Or maybe there's a way to run make config-recursive but get 
dialog to immediately cancel any config screens that appear (redirect 
input from /dev/null?).  Detect whether the output of that is not empty.

'make config-recursive' was already mentioned, but portupgrade has the 
-c and -C options, and running all the config screens before starting a 
build is automatic for portmaster.



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