Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2007 08:18:50 -0500 (EST)
From:      "Questions" <questions@totaldiver.net>
To:        questions@freebsd.org
Subject:   ports with -DBATCH
Message-ID:  <1619.192.168.1.2.1169644730.squirrel@mail.totaldiver.net>

next in thread | raw e-mail | index | archive | help
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





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