On May 23, 2026, at 2:04 PM, Philipp <[email protected]> wrote: > > [2026-05-23 13:49] Bakul Shah <[email protected]> >>> On May 23, 2026, at 1:33 PM, Philipp <[email protected]> wrote: >>> >>> I have some ideas how to fix this: >>> >>> * only output a warning when FreeBSD is detected >>> * fallback to /usr/local/ when the command fails >>> * remove the special handling completly >>> * add a specia --localbase to configure when run on *BSD >>> >>> I have no idea what the best way is to fix this. >> >> What about just creating /usr/port/Mk/* ? >> I just did that (unmounted /usr/port and added the above dir) >> and ./configure completed fine. > > I'm not sure if you want to help me getting nmh build or find a fix for > the issue. So to be clear: I'm able to workaround this issue. > > Why I have written the mail: I would argue building should either work > without having to tinker on your system or fail with a reasonable error > message. So I would say this is a bug in the build system.
Here's a simpler workaround: BSDPORTMK=/dev/null ./configure [But you may have to do a "autoreconf -f" if automake version doesn't match, as was the case on my pi4 freebsd] May be you can help get the build system fixed, given this hint!
