Date: Thu, 25 May 2017 00:14:44 -0600 From: Adam Weinberger <adamw@adamw.org> To: Thomas Mueller <mueller6722@twc.com> Cc: freebsd-ports@freebsd.org Subject: Re: Document for OPTIONS syntax in /etc/make.conf, where to find? Message-ID: <7A0ECD8D-90BC-4FAA-84B9-C9026E1ECFB7@adamw.org> In-Reply-To: <B9.BC.29375.11556295@dnvrco-omsmta02> References: <B9.BC.29375.11556295@dnvrco-omsmta02>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 24 May, 2017, at 21:52, Thomas Mueller <mueller6722@twc.com> wrote: >=20 > Where do I find documentation so I get the correct syntax for setting = ports options in /etc/make.conf ? >=20 > I tried "man ports", "man make", "man make.conf", and the online = Porters' Handbook but have been unable to find the needle in the = haystack. >=20 > NetBSD pkgsrc and Gentoo (Linux) portage document this much better. >=20 >=20 > Tom You'll find some info in the instructions at the top of = /usr/ports/Mk/bsd.options.mk; there's not a lot of info because it's not = generally the preferred place to specify options. To turn something off by default on all ports (which can always be = overridden by make config), OPTIONS_UNSET=3D NLS To turn something off which overrides make config, OPTIONS_UNSET_FORCE=3D NLS You can set options for individual ports in make.conf too, though it's = almost always a better idea to run 'make config' or 'poudriere options': /usr/ports/editors/vim$ make -V OPTIONS_NAME editors_vim make.conf: editors_vim_UNSET=3D NLS # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7A0ECD8D-90BC-4FAA-84B9-C9026E1ECFB7>