Re: ports with -DBATCH

2007-01-25 Thread Lowell Gilbert
"Questions" <[EMAIL PROTECTED]> writes:

> I'm writing a script to install a series of ports,  and would like to use
> the following:
>
>
> cd /usr/ports/foo/bar
> make WITH_OPTION1=yes WITH_OPTION2=yes WITHOUT_ANOTHER=yes -DBATCH install
>
> That works as expected,  but I would also like those settings written to
> the /var/db/ports/foobar/options file,  so that future upgrades also
> include the choices I made during the batch install.
>
> I've scoured the /usr/ports/Mk/* files,  and don't see anything useful for
> both BATCH and writing to the options file.   Suggestions would be much
> appreciated.

How about writing your settings into make.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ports with -DBATCH

2007-01-24 Thread Questions
Hello,

I'm writing a script to install a series of ports,  and would like to use
the following:


cd /usr/ports/foo/bar
make WITH_OPTION1=yes WITH_OPTION2=yes WITHOUT_ANOTHER=yes -DBATCH install

That works as expected,  but I would also like those settings written to
the /var/db/ports/foobar/options file,  so that future upgrades also
include the choices I made during the batch install.

I've scoured the /usr/ports/Mk/* files,  and don't see anything useful for
both BATCH and writing to the options file.   Suggestions would be much
appreciated.


Jeff


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"