This should fix:
evutil_rand.c:177:2: error: 'arc4random_addrandom' is deprecated: first deprecated in macOS 10.12 - use arc4random_stir [-Werror,-Wdeprecated-declarations]
libevent_configure_args="$libevent_configure_args --disable-shared"
libevent_configure_args="$libevent_configure_args --with-pic"
libevent_configure_args="$libevent_configure_args --enable-static"
+ libevent_configure_args="$libevent_configure_args CFLAGS=-Wno-deprecated-declarations"
lldp_CONFIG_SUBDIRS([libevent], [$libevent_configure_args])
AM_CONDITIONAL([LIBEVENT_EMBEDDED], [test x"$LIBEVENT_EMBEDDED" != x])