Date: Fri, 14 Jun 2013 15:07:38 +0200 From: Tijl Coosemans <tijl@FreeBSD.org> To: freebsd-ports@FreeBSD.org Subject: [HEADSUP] configuring options in make.conf Message-ID: <51BB159A.4010806@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2CDIXMODQBARGNTFWUDUG Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hi all, When building a port for the first time a dialog may appear to configure options for that port. This configuration is saved such that later builds no longer show the dialog. This behaviour has now been extended to include options set in /etc/make.conf. It allows you to configure options like DOCS, NLS, X11, etc. once for all ports and not have option dialogs pop up if those are the only options. You can still make the dialog appear by running "make config". The following variables can be used in make.conf to configure options. They are processed in the order listed below, i.e. later variables override the effects of previous variables. Options saved using the options dialog are processed right before OPTIONS_SET_FORCE. OPTIONS_SET - List of options to enable for all ports. OPTIONS_UNSET - List of options to disable for all ports.=20 ${UNIQUENAME}_SET - List of options to enable for a specific port. ${UNIQUENAME}_UNSET - List of options to disable for a specific port. OPTIONS_SET_FORCE - List of options to enable for all ports. OPTIONS_UNSET_FORCE - List of options to disable for all ports. ${UNIQUENAME}_SET_FORCE - List of options to enable for a specific port. ${UNIQUENAME}_UNSET_FORCE - List of options to disable for a specific port. To know the UNIQUENAME of a port you can run "make -V UNIQUENAME" in a port directory. An example configuration is given below. OPTIONS_SET=3D NLS # enable NLS for all ports unless configured # otherwise using the option dialog OPTIONS_UNSET=3D DOCS # aka NOPORTDOCS # configuration for xorg-server overriding the configuration from the # option dialog xorg-server_SET_FORCE=3D AIGLX xorg-server_UNSET_FORCE=3DHAL SUID ------enig2CDIXMODQBARGNTFWUDUG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iF4EAREIAAYFAlG7FZ4ACgkQfoCS2CCgtiu2TAD7BDs7QhTD8rSizkh8VM3njGOr YksyfCXN7ua05VHR+ZkA/38IxZvtTaXsr+SMCnc7VBe6wfw22qxtE0sSVJbMBRqb =7HCL -----END PGP SIGNATURE----- ------enig2CDIXMODQBARGNTFWUDUG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51BB159A.4010806>