Re: Building zsh/db/gdbm on MacOS Sequoia

Bart Schaefer <[email protected]> Wed, 24 Jun 2026 11:44:22 -0700
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <CAH+w=7a96ZL8T53E0adgfYeTT=PvPJWSY-gkwCJYUHZ77Hwn4Q@mail.gmail.com>
On Wed, Jun 24, 2026 at 11:01 AM Bart Schaefer
<[email protected]> wrote:
>
> (Sorry about the rapid followups)

One more ...

The only obvious (?) way I've found to track this down would be something like

port contents gdbm | \
 sed -n '/\/lib\//{s,lib/.*,lib,;s/^[ ]*/-L/;p;q;}'

This works for any port-installed package, e.g., replace gdbm with
pcre2 or whatever.

Is there a better way?  The full configure.ac entry would need to test
for the availability of the "port" command, etc.