git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] config.mak.uname: correct perl path on FreeBSD

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 25, 2016, 20:42 UTC
Message-ID
<xmqqoa5l4fh0.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160725203316.GA32053@starla>
Eric Wong <e@80x24.org> writes:
Show 39 quoted lines
> Junio C Hamano <gitster@pobox.com> wrote:
>> Duy Nguyen <pclouds@gmail.com> writes:
>> 
>> > On Mon, Jul 25, 2016 at 6:56 PM, Junio C Hamano <gitster@pobox.com> wrote:
>> >> On Mon, Jul 25, 2016 at 9:21 AM, Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
>> >>> It looks the the symlink /usr/bin/perl (to /usr/local/bin/perl) has
>> >>> been removed at least on FreeBSD 10.3. See [1] for more information.
>> >>>
>> >>> [1] https://svnweb.freebsd.org/ports/head/UPDATING?r1=386270&r2=386269&pathrev=386270&diff_format=c
>
> Ah, I missed that.  I guess that explains why nobody complained
> about the problem sooner.
>
>> >>> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
>> >>> ---
>> >>>  Tested with fbsd 10.3, kvm image. But I suppose it's the same as real
>> >>>  fbsd.
>> >>
>> >> Thanks; and we know that older (but not too old that we no longer care about)
>> >> FreeBSD all have /usr/local/bin/perl?
>> >
>> > I'm no fbsd expert but from the first sentence in [1] "Perl has been
>> > removed from base more than ten years ago..." I would assume it meant
>> > "... removed from base, _to_ ports system" which means /usr/local for
>> > all package installation (for ten years for perl). So I think we are
>> > good.
>> 
>> I guess we didn't follow through
>> 
>>     http://public-inbox.org/git/%3C20160720025630.GA71874%40plume%3E/
>> 
>> and allowed the thread to drift into a tangent?
>
> +Cc Dscho
>
> I've been meaning to followup on that, but had connectivity
> problems to my VM last week.  I still prefer we use numeric
> comparisons for version numbers since numbers are... numeric.
> IOW, I prefer we go with my original patch.

I tend to agree with you if we have to do "systems older than this should use /usr/bin, others should use /usr/local/bin", but this different incarnation of the same topic seems to claim that older ones had /usr/local/bin forever anyway, and that was what made the patch interesting.

Previous: Eric WongNext: Eric Wong
Message 6 of 8 in “config.mak.uname: correct perl path on FreeBSD”
  1. config.mak.uname: correct perl path on FreeBSDNguyễn Thái Ngọc Duy, Jul 25, 2016
  2. Junio C HamanoJul 25, 2016
  3. Duy NguyenJul 25, 2016
  4. Junio C HamanoJul 25, 2016
  5. Eric WongJul 25, 2016
  6. Junio C HamanoJul 25, 2016
  7. Eric WongJul 26, 2016
  8. Junio C HamanoJul 26, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.