pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/57970: pkgsrc textproc/nbsed is super old and doesn't support some things that modern seds support
The following reply was made to PR pkg/57970; it has been noted by GNATS.
From: Jonathan Perkin <jperkin%mnx.io@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/57970: pkgsrc textproc/nbsed is super old and doesn't
support some things that modern seds support
Date: Wed, 28 Feb 2024 21:06:20 +0000
* On 2024-02-28 at 20:07 GMT, Jonathan Perkin wrote:
>>(ironically, macOS's system sed supports the "in-place" options, pkgsrc's macOS configuration apparently feels that it's better to use nbsed instead, *shrug*).
>
>We've had to use pkgsrc sed on macOS since Mountain Lion, as the native
>sed is broken with binary files or UTF-8 locales. It would be great
>if we had a contact at Apple who could fix this, so we no longer need
>to bootstrap nbsed ;-)
That said, I just retried a fresh bootstrap on Sonoma and I'm not
immediately seeing any fallout, so perhaps the bugs have finally been
fixed.
You can switch to native either by amending pkgsrc/bootstrap/bootstrap
around the "Since 10.9, native sed exits when ..." section and perform a
fresh bootstrap, or modify an existing install by editing mk.conf to
comment out the
TOOLS_PLATFORM.awk= /opt/pkg/bin/nawk
TOOLS_PLATFORM.sed= /opt/pkg/bin/nbsed
lines.
--
Jonathan Perkin - mnx.io - pkgsrc.smartos.org
Open Source Complete Cloud www.tritondatacenter.com
Home |
Main Index |
Thread Index |
Old Index