Re: Building zsh/db/gdbm on MacOS Sequoia

Mikael Magnusson <[email protected]> Sat, 27 Jun 2026 04:56:33 +0200
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <CAHYJk3RxG7tyBW4FxtNorQ6mqCfgP8-LXLhp1-3za1a8z57L8g@mail.gmail.com>
On Fri, Jun 26, 2026 at 5:34 PM Bart Schaefer <[email protected]> wrote:
>
> On Wed, Jun 24, 2026 at 2:30 PM Mikael Magnusson <[email protected]> wrote:
> >
> > On Wed, Jun 24, 2026 at 8:44 PM Bart Schaefer <[email protected]> wrote:
> > >
> > > On Wed, Jun 24, 2026 at 11:01 AM Bart Schaefer
> > > <[email protected]> wrote:
> > >
> > > port contents gdbm | \
> > >  sed -n '/\/lib\//{s,lib/.*,lib,;s/^[ ]*/-L/;p;q;}'
> >
> > If you have dependencies outside $prefix then I believe you are
> > expected to supply this path manually, eg via
> >   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in
> > a nonstandard directory <lib dir>
>
> Well, yes, but given that --enable-pcre tracks down the nonstandard
> location and that there is an --enable-gdbm flag, I thought it might
> be reasonable for configure to do something similar here.

Yeah, the asymmetry is that pcre has pcre-config, and gdbm doesn't
have that nor a pkgconfig file, so there's not really anything we
could do short of find -name libgdbm.so /

-- 
Mikael Magnusson