[Bug 280180] [patch] net/nrpe may fail to build for ports users

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Jul 2024 14:57:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280180

            Bug ID: 280180
           Summary: [patch] net/nrpe may fail to build for ports users
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: eugen@freebsd.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.