summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libevent/libevent-2.1.5-r4.ebuild5
-rw-r--r--dev-libs/libevent/libevent-9999.ebuild5
2 files changed, 4 insertions, 6 deletions
diff --git a/dev-libs/libevent/libevent-2.1.5-r4.ebuild b/dev-libs/libevent/libevent-2.1.5-r4.ebuild
index 16300fc49e95..4df26f29a320 100644
--- a/dev-libs/libevent/libevent-2.1.5-r4.ebuild
+++ b/dev-libs/libevent/libevent-2.1.5-r4.ebuild
@@ -37,9 +37,6 @@ S=${WORKDIR}/${MY_P}
src_prepare() {
elibtoolize
epatch "${FILESDIR}/${PN}-2.1.5-event_signals_ordering.patch"
- # don't waste time building tests
- # https://github.com/libevent/libevent/pull/144
- sed -i -e '/^all:/s|tests||g' Makefile.nmake || die
}
multilib_src_configure() {
@@ -48,10 +45,12 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" \
econf \
+ --disable-samples \
$(use_enable debug debug-mode) \
$(use_enable debug malloc-replacement) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
+ $(use_enable test libevent-regress) \
$(use_enable threads thread-support)
}
diff --git a/dev-libs/libevent/libevent-9999.ebuild b/dev-libs/libevent/libevent-9999.ebuild
index 179af26b421f..c807cd329fc7 100644
--- a/dev-libs/libevent/libevent-9999.ebuild
+++ b/dev-libs/libevent/libevent-9999.ebuild
@@ -30,9 +30,6 @@ MULTILIB_WRAPPED_HEADERS=(
src_prepare() {
eautoreconf
- # don't waste time building tests
- # https://github.com/libevent/libevent/pull/144
- sed -i -e '/^all:/s|tests||g' Makefile.nmake || die
}
multilib_src_configure() {
@@ -41,10 +38,12 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" \
econf \
+ --disable-samples \
$(use_enable debug debug-mode) \
$(use_enable debug malloc-replacement) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
+ $(use_enable test libevent-regress) \
$(use_enable threads thread-support)
}