From owner-freebsd-ports@FreeBSD.ORG Fri Apr 4 11:47:46 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D090F863; Fri, 4 Apr 2014 11:47:46 +0000 (UTC) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40AE21C7; Fri, 4 Apr 2014 11:47:46 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id y10so3293661wgg.25 for ; Fri, 04 Apr 2014 04:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=MuMNH/fQrBfAOafJTtoR4MJNF/PhHqFLXIwIubQD/yg=; b=sGHCaPZF3iiNMYqMUHjWtlUj9nPCIFh2W4aztkzCZo53mWmhJBF6mGpCHgrK+4uWjr Mxto9AQNeAlUX35ZiN4oSGQqebfoHGT3B5plbWAkduIgBM+QRQEvywn2hYEx3750Re1F +UTBzIHfuJeq+8qpfKpSmboFosGxogZY6osqQiLBcWxThGcwGpY0Y1RK8b6OeeQ7LSjB EZBDZw+AYgYR1AAPlSOGwUyTEs0gmSA+QQ3pfUirezi4tVuPnmHMK0FUZ8lgr8xOtgVA 2S44ve5xuEZ5NlOACmmQUwNBpXZ69v5t9XDBbuR1JjZ9pZ7k4hjjqURPNfpkTLZyen2F Z/9w== X-Received: by 10.194.59.43 with SMTP id w11mr19181912wjq.65.1396612064610; Fri, 04 Apr 2014 04:47:44 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id b2sm4190281wiz.15.2014.04.04.04.47.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Apr 2014 04:47:43 -0700 (PDT) Sender: Baptiste Daroussin Date: Fri, 4 Apr 2014 13:47:21 +0200 From: Baptiste Daroussin To: Bryan Drewery Subject: Re: working with port options from commandline Message-ID: <20140404114720.GA48345@ivaldir.etoilebsd.net> References: <533D293D.1050902@b1t.name> <533E91E9.3080305@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <533E91E9.3080305@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Volodymyr Kostyrko , FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 11:47:46 -0000 --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--