From owner-freebsd-ports@FreeBSD.ORG Sat Mar 17 01:57:12 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A998A106566C; Sat, 17 Mar 2012 01:57:12 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from smtp.vangyzen.net (173-165-232-89-minnesota.hfc.comcastbusiness.net [173.165.232.89]) by mx1.freebsd.org (Postfix) with ESMTP id 7D9D98FC0A; Sat, 17 Mar 2012 01:57:12 +0000 (UTC) Received: from latitude.vangyzen.net (dhcp-28.vangyzen.net [192.0.2.28]) by smtp.vangyzen.net (Postfix) with ESMTP id 00CC2B839; Fri, 16 Mar 2012 20:47:13 -0500 (CDT) Message-ID: <4F63ED21.60302@vangyzen.net> Date: Fri, 16 Mar 2012 20:47:13 -0500 From: Eric van Gyzen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: Doug Barton References: <4F60C059.7060904@FreeBSD.org> <4F63E809.1080606@FreeBSD.org> In-Reply-To: <4F63E809.1080606@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Adrian Chadd , Oleg Moskalenko , freebsd-current@freebsd.org, Jonathan Anderson , Gabor Kovesdan , freebsd-ports@freebsd.org Subject: Re: CFT: new BSD-licensed sort available 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: Sat, 17 Mar 2012 01:57:12 -0000 On 03/16/2012 08:25 PM, Doug Barton wrote: > On 03/14/2012 15:14, Jonathan Anderson wrote: >> In fact, the runtime behaviour of the Debian "alternatives" system is simpler than that: >> http://segfault.in/2010/04/using-the-debian-alternatives-system/ [...] > This sounds like a good solution to more than one problem. Does anyone > know why they indirect through 2 sets of symlinks? That article doesn't > touch on the "why?" only the what. Do you mean, why do they do /usr/bin/vim -> /etc/alternatives/vim -> /usr/bin/vim.gtk instead of /usr/bin/vim -> /usr/bin/vim.gtk ? Someone's choice of a vi-like editor would be considered configuration, so it belongs in /etc. I agree, it does sound like a good solution. As simple as possible, but no less. ;) Eric