From owner-freebsd-ports@FreeBSD.ORG Fri Jun 8 14:34:32 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mandree.no-ip.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 53E731065688 for ; Fri, 8 Jun 2012 14:34:32 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by apollo.emma.line.org (Postfix) with ESMTP id 84D1B23D032 for ; Fri, 8 Jun 2012 16:34:31 +0200 (CEST) Message-ID: <4FD20D77.4060109@FreeBSD.org> Date: Fri, 08 Jun 2012 16:34:31 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: ports@FreeBSD.org X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Subject: 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 14:34:32 -0000 Greetings, while porting dnsmasq to optionsNG, I came across a couple of questions that do not seem to be addressed in the documentation. 1 - dependencies between options specifics: dns/dnsmasq offers IDN and NLS. Due to idiosyncrasies of the port, NLS also entails IDN. Meaning that: If NLS is enabled, the IDN option should either *not* be offered, or as "always on". If NLS is disabled, the IDN option *should be offered* as a binary option. How do I express that in Options NG? 2 - OPTIONS_EXCLUDE OPTIONS_EXCLUDE does not seem to work for me in a way that I've understood it. Situation: misc/e2fsprogs-libuuid (a slave port to sysutils/e2fsprogs) requires WITHOUT_NLS=true to build properly, OPTIONS_EXCLUDE=NLS does not work (meaning that the master port gets NLS in PORT_OPTIONS breaking the slave build), WITHOUT_NLS=true continues to work. 3 - Command line overrides Traditionally, command line overrides like "make WITHOUT_IPV6=yes" took precedence, or port test -- WITHOUT_IPV6. How do I tell dns/dnsmasq after conversion that I do not want IPV6? "make OPTIONS_UNSET=IPV6" does not work, and "make OPTIONS_OVERRIDE=..." requires a lot of fiddling to get the options right. Best, Matthias