diff --git a/dev-libs/libevent/libevent-2.0.21.recipe b/dev-libs/libevent/libevent-2.0.21.recipe index e677584a8..113567b34 100644 --- a/dev-libs/libevent/libevent-2.0.21.recipe +++ b/dev-libs/libevent/libevent-2.0.21.recipe @@ -14,7 +14,7 @@ CHECKSUM_SHA256="22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f LICENSE="BSD (3-clause)" COPYRIGHT="2000-2007 Niels Provos, 2005 Nick Mathewson, and other contributors." -REVISION="5" +REVISION="6" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" @@ -72,6 +72,10 @@ BUILD() aclocal autoconf automake --add-missing + + export CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS" + export CXXFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS" + export LDFLAGS="-lposix_error_mapper" runConfigure ./configure make $jobArgs }