```
sysutils/rsyslog: Fix libinotify build conflict
ports r444784 added CONFLICTS_BUILD on devel/libinotify as the
build breaks when it is installed/available:
imfile.c:42:10: fatal error: 'linux/types.h' file not found
#include <linux/types.h>
^~~~~~~~~~~~~~~
1 error generated.
The inability to build a port based on the presence of an arbitrary port
is not a good user experience as anything can be installed in the user
environment.
In almost all cases, it is preferable to resolve the conflict explicitly,
either by patching the parts of the build system that check for or define
functionality based on the presence of a library, or any methods available
in the build system to explicitly disable that particular functionality.
rsyslog does not contain any explicitly user-toggles for disabling inotify
support (optional, for the imfile module), but GNU configure provides
variables for each check that can be overriden.
This method is used in /usr/ports/Templates/config.site to provide cached
values to GNU configure scripts, improving performance/build times by
avoiding actually running the tests/checks.
This change sets two configure variables involved in inotify
function/header detection, which disables the functionality, allowing the
build to proceed even in libinotify's presence.
Reported by: atari83 (via IRC)