From owner-freebsd-ports@FreeBSD.ORG Mon Jun 4 22:28:26 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id 67C471065670; Mon, 4 Jun 2012 22:28:26 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from opti.dougb.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 3768D15424A; Mon, 4 Jun 2012 22:28:25 +0000 (UTC) Message-ID: <4FCD3688.7070000@FreeBSD.org> Date: Mon, 04 Jun 2012 15:28:24 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120506 Thunderbird/12.0.1 MIME-Version: 1.0 To: Baptiste Daroussin References: <4FCD1EC7.9060905@FreeBSD.org> <20120604222215.GH73254@ithaqua.etoilebsd.net> In-Reply-To: <20120604222215.GH73254@ithaqua.etoilebsd.net> X-Enigmail-Version: 1.5pre OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD ports list Subject: Re: NO_OPTIONS_SORT makes options disappear 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: Mon, 04 Jun 2012 22:28:26 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 06/04/2012 15:22, Baptiste Daroussin wrote: > On Mon, Jun 04, 2012 at 01:47:03PM -0700, Doug Barton wrote: >> The new options framework sorts all of the options by default >> before presenting them to the user. I have mixed feelings about >> this, however there is supposed to be a workaround for those of >> us who have grouped the options for our ports into logical >> chunks, NO_OPTIONS_SORT. >> >> Today I tried defining that in my BIND ports so that users would >> not be confused during the upgrade process, and got this: >> >> make config ===> No options to configure >> >> I tried defining NO_OPTIONS_SORT both before and after including >> bsd.port.pre.mk, got the same result for both. > Have you tried keeping you port as-is I left it as-is since I don't have time to do anything else. This results in a bad user experience since the options are now all sorted into alphabetical order instead of the meaningful groupings that I had them in. > or converting it ? I don't have time to do that right now, and this should not be necessary in order to maintain backwards compatibility with what I already had. I can accept adding the NO_OPTIONS_SORT knob, but the fact that adding it causes things to be dramatically more broken than they already are is a bug. > Can you send me a diff so that I can have a deeper look tomorrow > morning GMT+1? I described what I did in detail in my OP. Adding NO_OPTIONS_SORT was the only change I made. Doug - -- This .signature sanitized for your protection -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBCAAGBQJPzTaIAAoJEFzGhvEaGryEOuUH/2WcSn0Wn8xMoUzhIJBm2x2Z Axog5WoLoL/uuddijCsAQyQlG4OxYaatMvIPBg2kImqZDdZV0wDvrp/vcg3vngYX zvq2kpzfc0y8BT01UWi6BNGJXymDHZ0/b8NKv7pYrUWvTLta4Ae8wxtxZciGsAVL ITMFXygIDhu8KWtWmfakP5bJpwexz+v20M1CoKhBWJ8FuawcicZctOscbUCYn4HE KK4kYcmO/sb8C5n8aCehJXQbcZX77wftSDUatfNpv8WTxyDPzKpms3SwmfOUIMnd XSnh4O4eiyIccPk9OCE4EMOmizlJhBxMpgEPp6a0QeAwmWaYA09dTiyhbexXcXQ= =FlRt -----END PGP SIGNATURE-----