Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 11:04:35 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Questions" <questions@totaldiver.net>
Cc:        questions@freebsd.org
Subject:   Re: ports with -DBATCH
Message-ID:  <44sldzum7g.fsf@be-well.ilk.org>
In-Reply-To: <1619.192.168.1.2.1169644730.squirrel@mail.totaldiver.net> (questions@totaldiver.net's message of "Wed, 24 Jan 2007 08:18:50 -0500 (EST)")
References:  <1619.192.168.1.2.1169644730.squirrel@mail.totaldiver.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Questions" <questions@totaldiver.net> 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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44sldzum7g.fsf>