I just added ac_cv_prog_AWK=awk to the configure.args for gdbm, as I did for gawk yesterday.
However, gdbm is not in the dependency chain of gawk, so I don’t know why MacPorts wants to install it before gawk. > On Apr 25, 2017, at 5:41 PM, Ryan Schmidt <[email protected]> wrote: > >> >> On Apr 25, 2017, at 04:57, Mojca Miklavec <[email protected]> wrote: >> >> On 25 April 2017 at 11:45, Mojca Miklavec wrote: >>> Hi, >>> >>> I just experienced a failure to build gdbm during "port upgrade outdated". >>> >>> The reason: configure checks for >>> for ac_prog in gawk mawk nawk awk >>> and then calls "gawk" which is temporarily broken due to readline >>> which has been upgraded some seconds before (while gawk wasn't yet). >>> But gawk is not listed as build dependency, so MacPorts didn't know >>> that gawk should be updated first. >>> >>> What's the best solution in such cases? >>> >>> Adding: >>> configure.env-append AWK=/usr/bin/awk >>> >>> Or add a build dependency on gawk? > > So far we've decided to do neither. > >> The same problem when updating clisp. At which point I just "gave up" >> and update gawk before running "port upgrade outdated" again. > > This is what we've recommended so far. Marius -- Marius Schamschula
