[Bug 288365] bmake: ports/Mk/bsd.port.mk:2039: warning: Invalid character " " in variable name "pkgconf --cflags libinotify"

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Jul 2025 14:18:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288365

Wolfram Schneider <wosch@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jadawin@FreeBSD.org
             Status|New                         |Open

--- Comment #2 from Wolfram Schneider <wosch@FreeBSD.org> ---
There are 3 affected ports (out of 37000)

===> security/ossec-hids-agent
make[4]: /home/wosch/projects/freebsd-ports-devel/Mk/bsd.port.mk:2039: warning:
Invalid character " " in variable name "pkgconf --cflags libinotify"
===> security/ossec-hids-local
make[4]: /home/wosch/projects/freebsd-ports-devel/Mk/bsd.port.mk:2039: warning:
Invalid character " " in variable name "pkgconf --cflags libinotify"
===> security/ossec-hids-server
make[4]: /home/wosch/projects/freebsd-ports-devel/Mk/bsd.port.mk:2039: warning:
Invalid character " " in variable name "pkgconf --cflags libinotify"

and INOTIFY_CFLAGS is really used by only 2 ports:

git grep INOTIFY_CFLAGS
comms/libusbmuxd/Makefile:INOTIFY_CFLAGS=               -I${LOCALBASE}/include
security/ossec-hids-local/Makefile:INOTIFY_CFLAGS=      $$(${PKG_CONFIG}
--cflags libinotify)

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