From owner-freebsd-ports@freebsd.org Fri Nov 2 10:24:59 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C87C810F1393 for ; Fri, 2 Nov 2018 10:24:59 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 71E1F8177C; Fri, 2 Nov 2018 10:24:59 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from atuin.in.mat.cc (unknown [IPv6:2a01:678:42:ffff:3e15:c2ff:fec4:452e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id E34C41C588; Fri, 2 Nov 2018 10:24:58 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Fri, 2 Nov 2018 11:24:57 +0100 From: Mathieu Arnold To: Harry Schmalzbauer Cc: freebsd-ports@freebsd.org Subject: Re: options DOCS + EXAMPLES Message-ID: <20181102102457.735xhicm32ghxpac@atuin.in.mat.cc> References: <07935967-fe29-c638-0bc3-2fd00cc9cee7@omnilan.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fj5o4vplgmejhacq" Content-Disposition: inline In-Reply-To: <07935967-fe29-c638-0bc3-2fd00cc9cee7@omnilan.de> User-Agent: NeoMutt/20180716 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2018 10:24:59 -0000 --fj5o4vplgmejhacq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 02, 2018 at 10:49:52AM +0100, Harry Schmalzbauer wrote: > Hello, >=20 > found out that the need to define DOCS and EXAMPLES in OPTIONS_DEFINE was > made mandatory some time ago, which ports-mgmt/portlint isn't aware about > yet (found https://reviews.freebsd.org/D13036). >=20 > I intentionally haven't defined it, because I want to make use of the > bsd.ports.mk handling of PORTDOCS and PORTEXAMPLES, but don't want to spam > the UI.=A0 EXAMPLES and DOCS shall stay mandatory for my port, as long as= the > user changes the corresponding defaults. >=20 > How do I hide the user selection for EXAMPLES and DOCS after the change > (which I wasn't able to find by reading commit logs)? I am not sure what you are asking. To be able to use PORTDOCS or PORTEXAMPLES, you must define a DOCS or an EXAMPLES option. The users must be allowed to choose if they want documentation or examples to be installed. If you personnaly do not want the options dialog to show up when you build ports, you can set BATCH in your environment. --=20 Mathieu Arnold --fj5o4vplgmejhacq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlvcJflfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkjMjg//ZUD8Z84oFF+jdd4ccZ90eY7puLebgw/sdJqw+NJAXkTSgaj3BNG3HWyX Q7IHqz8Fp4FuTI6PI5VnQ6U8drRbVwHU0LpB2hex/IUyNCpatxrzPK8uFzk+9zJh pQqZIeYWLQvp0ouRhngrrAw3jdLFvVSIYREnwH9mqsEprAxgZQDIp1YTIdNvo5Sq J9OH/iPzCfb75RJip/WRmse8cnJ/LXNNVcOYUztYJVMxk4x6VAxZg5T3ceKhC6Np gmYHAnTVGyy2gw/WG6HZNy20sses3b4dKitp5eRQKWiVko9tlpBPYyVNztA09S8K 1g0epVw+bwf4LHbqLZdAJhZe2USVrv16Y0ViuXql3J/youDtlnxIozBAY9V+2j59 Ao4Z+t2+p5oqD0PWodo6D0jaTGj/wMJoxnjHMeelBVc54b0F1DEjR1e+5Gx39AuP aeJ9sSQFsRN+C6+sd8r47+4wQqHvDclvwR14ACm+m8KzGwIX8ryGdpx+V/cdMID3 pLLPVDO1OEiJ2apAyhvssdTJJ2VV57BIFBQi9YIgR+21kg3NyqzqYsT3ftJ8qqHU FKfFaBNin6HYu7KVmSLo4PD170Gi3fyRYeH9LxtBs+dmlgvfRqTSjtc7ScQZV7it 6eRti+2UGbom0sfOPhXIjLcA4AT73AmCI2bZQPJQsbXIO9p1ehw= =oRhr -----END PGP SIGNATURE----- --fj5o4vplgmejhacq--