How to make a make install without questions?

Doug Barton dougb at FreeBSD.org
Mon Jun 18 23:47:22 UTC 2007


TooMany Secrets wrote:
> Hi!
> 
> Excuse me if this is a estupid question, but in six years with
> FreeBSD, today I haven't still an answer to this:
> - If I make a "make install clean", in a port like "x11/kde3", are
> there any way to make the lack of questions? Or maybe better, are
> there any way to make anything like "make -y (or -Y for YES options)
> install clean"?
> 
> The trouble is ports like KDE, with platform independency (more or
> less cpu power), take more time because you need to stay (more or
> less) in front of computer to choose and accept the port options.
> I understand that you don't need this with other ports (like apache,
> php, etc), for obvious reasons. But I think that with ports like
> gnome2 or kde3, maybe I believe that it would be a great saving of
> time.

You might want to take a look at ports-mgmt/portmaster for one
solution to this problem. It recurses through all the dependencies
that need to be updated or installed for a given port, and gives you
the OPTIONS dialog for each one before starting to build. This has one
significant advantage over 'make config-recursive' because the OPTIONS
you choose for one port might affect the dependencies for that port,
which portmaster takes into account.

hope this helps,

Doug

-- 

    This .signature sanitized for your protection


More information about the freebsd-ports mailing list