Date: Fri, 8 Jun 2012 20:57:20 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Matthias Andree <mandree@FreeBSD.org> Cc: ports@FreeBSD.org Subject: Re: Options NG questions Message-ID: <20120608185720.GE60433@ithaqua.etoilebsd.net> In-Reply-To: <4FD20D77.4060109@FreeBSD.org> References: <4FD20D77.4060109@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--WBsA/oQW3eTA3LlM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 08, 2012 at 04:34:31PM +0200, Matthias Andree wrote: > Greetings, >=20 > while porting dnsmasq to optionsNG, I came across a couple of questions > that do not seem to be addressed in the documentation. >=20 > 1 - dependencies between options >=20 > specifics: dns/dnsmasq offers IDN and NLS. Due to idiosyncrasies of the > port, NLS also entails IDN. Meaning that: >=20 > If NLS is enabled, the IDN option should either *not* be offered, or as > "always on". >=20 > If NLS is disabled, the IDN option *should be offered* as a binary option. >=20 > How do I express that in Options NG? I don't know much except after .include <bsd.port.pre.mk> =2Eif ${PORT_OPTIONS:MNLS} PORT_OPTIONS+=3D IDN =2Eendif something like that. For the dialog UI can't do much >=20 >=20 > 2 - OPTIONS_EXCLUDE >=20 > OPTIONS_EXCLUDE does not seem to work for me in a way that I've > understood it. >=20 > Situation: misc/e2fsprogs-libuuid (a slave port to sysutils/e2fsprogs) > requires WITHOUT_NLS=3Dtrue to build properly, OPTIONS_EXCLUDE=3DNLS does > not work (meaning that the master port gets NLS in PORT_OPTIONS breaking > the slave build), WITHOUT_NLS=3Dtrue continues to work. >=20 OPTIONS_EXCLUDE will remove NLS from the list of define options but but NLS remain in PORT_OPTIONS. Do force removing NLS I would have done, in master port Makefile =2Einclude <bsd.port.pre.mk> =2Eif defined(MASTERDIR) # Force removal of NLS PORT_OPTIONS:=3D ${PORT_OPTIONS:NNLS} =2Eendif >=20 > 3 - Command line overrides >=20 > Traditionally, command line overrides like "make WITHOUT_IPV6=3Dyes" took > precedence, or port test -- WITHOUT_IPV6. >=20 > How do I tell dns/dnsmasq after conversion that I do not want IPV6? > "make OPTIONS_UNSET=3DIPV6" does not work, and "make OPTIONS_OVERRIDE=3D.= =2E." > requires a lot of fiddling to get the options right. >=20 make OPTIONS_UNSET=3DIPV6 should work maybe already have it in make.conf ? make dnsmasq_UNSET=3DIPV6 should also work regards, Bapt --WBsA/oQW3eTA3LlM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/SSxAACgkQ8kTtMUmk6EwUvACfRPHCpEr0b9sorP1FNvtSz+9a GqIAoLNvG4ihkdmn436cfFZGoCIUu3t8 =Qw+q -----END PGP SIGNATURE----- --WBsA/oQW3eTA3LlM--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120608185720.GE60433>