Date: Fri, 4 Apr 2014 13:47:21 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Bryan Drewery <bdrewery@FreeBSD.org> Cc: Volodymyr Kostyrko <c.kworr@gmail.com>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: working with port options from commandline Message-ID: <20140404114720.GA48345@ivaldir.etoilebsd.net> In-Reply-To: <533E91E9.3080305@FreeBSD.org> References: <533D293D.1050902@b1t.name> <533E91E9.3080305@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 04, 2014 at 06:05:13AM -0500, Bryan Drewery wrote: > On 4/3/2014 4:26 AM, Volodymyr Kostyrko wrote: > > Hi all. > >=20 > > I'm all about automation. I'd like to automate most tasks so I can > > schedule them or write a script with which everything would be done > > automatically. > >=20 > > I have some difficulties with current port options framework: > >=20 > > 1. Is there a good way to set/unset any option from command line without > > firing up dialog? Something like 'make -C port/dir -DSET=3DOPT1,OPT2 > > -DUNSET=3DOPT3 updateconfig'. >=20 > This should work: > make ... OPTIONS_SET=3D"OPT OPT OPT" OPTIONS_UNSET=3D"OPT OPT OPT" BATC= H=3D1 The rigth way is make WITH=3D"OPT1 OPT2 OPT3" WITHOUT=3D"OPT4 OPT5" BATCH=3D1 regards, Bapt --KsGdsel6WgEHnImy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlM+m8gACgkQ8kTtMUmk6Ew3xwCfU3rkXPQpxrFu6G31crTUhsly 4moAoLM7OfpbykTDQe4XhnDdntC/nDJX =Ci2N -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140404114720.GA48345>