If net-mgmt/nrpe version 4.1.0 is built not within clean release environment but for users of FreeBSD source update path (13.2 -> 13.3-STABLE f.e.), port building process may fail: ===> Building for nrpe-4.1.0 make: "/data/ports-work/usr/ports/net-mgmt/nrpe/work/nrpe-nrpe-4.1.0/Makefile" line 42: Invalid line type make: "/data/ports-work/usr/ports/net-mgmt/nrpe/work/nrpe-nrpe-4.1.0/Makefile" line 43: Invalid line type make: Fatal errors encountered -- cannot continue make: stopped in /data/ports-work/usr/ports/net-mgmt/nrpe/work/nrpe-nrpe-4.1.0 ===> Compilation failed unexpectedly. That's because of a bug in the distfile's "configure" script that may insert garbage to generated Makefile. The problem may be worked around easily with an addition to port's CONFIGURE_ARGS: --with-inetd-type=inetd If you approve, I can commit attached patch myself.
Created attachment 251924 [details] fix to the problem
Sorry for the delayed response. Am looking into it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6eec36c45b04c6d437453378dac08171775b2825 commit 6eec36c45b04c6d437453378dac08171775b2825 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-07-28 17:08:53 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-07-28 17:08:53 +0000 net-mgmt/nrpe: Fix permission on /var - Fix build for ports users [1] PR: 277704, 280180 [1] Reported by: sr@genyosha.net, eugen [1] net-mgmt/nrpe/Makefile | 8 +++++--- net-mgmt/nrpe/pkg-plist | 1 - 2 files changed, 5 insertions(+), 4 deletions(-)