diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-10-30 21:20:51 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-10-30 21:26:39 -0400 |
commit | ff621f037fa0134b97c78d42f3dff2dc965716c0 (patch) | |
tree | e83cc9024184dd346d2ddf37e3bcc302f64863b1 /dev-libs/libevent | |
parent | sys-kernel/gentoo-sources: Linux patch 3.18.23 (diff) | |
download | gentoo-ff621f037fa0134b97c78d42f3dff2dc965716c0.tar.gz gentoo-ff621f037fa0134b97c78d42f3dff2dc965716c0.tar.bz2 gentoo-ff621f037fa0134b97c78d42f3dff2dc965716c0.zip |
dev-libs/libevent: use configure flags to disable samples/tests
We don't want to spend time compiling things that we aren't going to
use, so pass configure flags to disable them.
Diffstat (limited to 'dev-libs/libevent')
-rw-r--r-- | dev-libs/libevent/libevent-2.1.5-r4.ebuild | 5 | ||||
-rw-r--r-- | dev-libs/libevent/libevent-9999.ebuild | 5 |
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) } |