message for port developers

Phil Schulz ph.schulz at gmx.de
Sat Jan 29 10:42:19 PST 2005


On 01/29/05 19:27, Gert Cuykens wrote:
> On Sat, 29 Jan 2005 19:22:18 +0100, Gert Cuykens <gert.cuykens at gmail.com> wrote:
> 
>>On Sat, 29 Jan 2005 19:17:46 +0100, Gert Cuykens <gert.cuykens at gmail.com> wrote:
>>
>>>On Sat, 29 Jan 2005 19:01:57 +0100, Phil Schulz <ph.schulz at gmx.de> wrote:
>>>
>>>>I'm not a port developer but I think you are looking for either `make
>>>>configure` or the BATCH variable.
>>>>
>>>>  If you know which ports you want to install on your system, you can do
>>>>a `make configure' for each port (where it is availeable) and then have
>>>>a skript fire up the `make install's. I'm not sure though if that works
>>>>recursively, i.e. you run `make configure' for e.g. the Gnome meta port
>>>>and you configure all the dependencies with that one command. Why don't
>>>>you try it? ;-)
>>>>  If you think the default options are ok for you, you can add a line
>>>>like "BATCH=yes" in /etc/make.conf and the ports will be built w/o any
>>>>user interaction. Very useful for large builds.
>>>>
>>>>HTH,
>>>>
>>>>Phil.
>>>>
>>>
>>>BATCH=yes i can not do because some configuration leave some very nice toys out.
>>>

If you know what specific options you are looking for, you could 
configure the ports "by hand" and install them later. I think not all 
ports can be build with BATCH defined, at least that's what ports(7) 
suggests.

>>>Now lets see you can call all dependencies with this if your index is working :)
>>>
>>>make pretty-print-build-depends-list
>>>so with some grep magic you could tell to do make config in all does
>>>dependencies. Now the trickie part how do you find out the new
>>>dependencies after does configure screens ?
>>>
>>
>>a maybe updating the index and do the same thing all over again until
>>there are no new dependencies ?
>>
> 
> 
> can you update the index after a configure that adds a extra
> dependencie to the port ?
> 

I don't know.

I don't think it would be very efficient in terms of effort vs. use. How 
many ports do you really want to install with non-default options? And 
how often do you re-configure them?

You probably want to wait for an opinion from someone else who knows 
more, though.

Phil.


More information about the freebsd-questions mailing list