# 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 +malloc-replacement +ssl static-libs test +threads"
+IUSE="debug libressl +ssl static-libs test +threads"
DEPEND="
ssl? (
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) \
- --disable-samples
+ $(use_enable threads thread-support)
}
src_test() {
<?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="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>
+ <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>
</pkgmetadata>