dev-libs/libevent: Add USE=malloc-replacement (bug #545358).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Jeroen Roovers
2017-02-02 16:18:26 +01:00
parent 1e42380825
commit 9562bcbde9
2 changed files with 17 additions and 14 deletions

View File

@@ -13,7 +13,7 @@ LICENSE="BSD"
# libevent-2.1.so.6
SLOT="0/2.1-6"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="debug libressl +ssl static-libs test +threads"
IUSE="debug libressl +malloc-replacement +ssl static-libs test +threads"
DEPEND="
ssl? (
@@ -43,13 +43,14 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" \
econf \
--disable-samples \
$(use_enable debug debug-mode) \
$(use_enable debug malloc-replacement) \
$(use_enable malloc-replacement) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_enable test libevent-regress) \
$(use_enable threads thread-support)
$(use_enable threads thread-support) \
--disable-samples
}
src_test() {

View File

@@ -1,15 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>jer@gentoo.org</email>
<name>Jeroen Roovers</name>
</maintainer>
<upstream>
<remote-id type="cpe">cpe:/a:niels_provos:libevent</remote-id>
<remote-id type="sourceforge">levent</remote-id>
</upstream>
<use>
<flag name="debug">Support runtime debug mode and malloc hooks (for programmers)</flag>
</use>
<maintainer type="person">
<email>jer@gentoo.org</email>
<name>Jeroen Roovers</name>
</maintainer>
<upstream>
<remote-id type="cpe">cpe:/a:niels_provos:libevent</remote-id>
<remote-id type="github">libevent/libevent</remote-id>
<remote-id type="sourceforge">levent</remote-id>
</upstream>
<use>
<flag name="debug">Support runtime debug mode and malloc hooks (for programmers)</flag>
<flag name="malloc-replacement">Enable support for replacing the memory management functions</flag>
</use>
</pkgmetadata>