From owner-freebsd-ports@FreeBSD.ORG Fri Jun 8 18:57:23 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A459106567A; Fri, 8 Jun 2012 18:57:23 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DB60B8FC18; Fri, 8 Jun 2012 18:57:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q58IvMcV000374; Fri, 8 Jun 2012 18:57:22 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q58IvMTF000373; Fri, 8 Jun 2012 18:57:22 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Fri, 8 Jun 2012 20:57:20 +0200 From: Baptiste Daroussin To: Matthias Andree Message-ID: <20120608185720.GE60433@ithaqua.etoilebsd.net> References: <4FD20D77.4060109@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WBsA/oQW3eTA3LlM" Content-Disposition: inline In-Reply-To: <4FD20D77.4060109@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org Subject: Re: Options NG questions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2012 18:57:23 -0000 --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 =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 =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--