libevent: Disable the POSIX error mapper.

It doesn't seem to be needed, and using it
breaks the kqueue backend in some situations.
This commit is contained in:
Augustin Cavalier
2024-09-09 17:24:15 -04:00
parent edc2e23581
commit b1b94c8fb6

View File

@@ -10,7 +10,7 @@ HOMEPAGE="http://www.libevent.org/"
COPYRIGHT="2000-2007 Niels Provos
2005 Nick Mathewson, and other contributors."
LICENSE="BSD (3-clause)"
REVISION="4"
REVISION="5"
SOURCE_URI="https://github.com/libevent/libevent/releases/download/release-$portVersion-stable/libevent-$portVersion-stable.tar.gz"
CHECKSUM_SHA256="92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb"
SOURCE_DIR="libevent-${portVersion}-stable"
@@ -80,8 +80,8 @@ BUILD()
{
autoreconf -fi
CPPFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS -D_BSD_SOURCE -DEV_ENABLE=0" \
LDFLAGS="-lbsd -lposix_error_mapper -lnetwork" \
CPPFLAGS="-D_BSD_SOURCE -DEV_ENABLE=0" \
LDFLAGS="-lbsd -lnetwork" \
runConfigure ./configure --disable-static
make $jobArgs
}