diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-07-05 16:33:13 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-07-05 16:35:46 +0200 |
commit | 5336088592f1c8df9ef78db26b620ebc6c74d0e3 (patch) | |
tree | 90dff79ab0ddba536e98b8eeb56bac1a32ac1e86 /dev-libs/libevent | |
parent | net-analyzer/wireshark: Old (diff) | |
download | gentoo-5336088592f1c8df9ef78db26b620ebc6c74d0e3.tar.gz gentoo-5336088592f1c8df9ef78db26b620ebc6c74d0e3.tar.bz2 gentoo-5336088592f1c8df9ef78db26b620ebc6c74d0e3.zip |
dev-libs/libevent: Add more USE flags
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Closes: https://bugs.gentoo.org/710860
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-libs/libevent')
-rw-r--r-- | dev-libs/libevent/libevent-2.1.12.ebuild | 13 | ||||
-rw-r--r-- | dev-libs/libevent/libevent-2.1.9999.ebuild | 13 | ||||
-rw-r--r-- | dev-libs/libevent/libevent-9999.ebuild | 13 | ||||
-rw-r--r-- | dev-libs/libevent/metadata.xml | 5 |
4 files changed, 31 insertions, 13 deletions
diff --git a/dev-libs/libevent/libevent-2.1.12.ebuild b/dev-libs/libevent/libevent-2.1.12.ebuild index a4491d74305f..bac34a76ade3 100644 --- a/dev-libs/libevent/libevent-2.1.12.ebuild +++ b/dev-libs/libevent/libevent-2.1.12.ebuild @@ -16,7 +16,10 @@ LICENSE="BSD" SLOT="0/2.1-7" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~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=" + clock-gettime debug libressl malloc-replacement +ssl static-libs test + +threads verbose-debug +" RESTRICT="!test? ( test )" DEPEND=" @@ -40,13 +43,15 @@ multilib_src_configure() { ECONF_SOURCE="${S}" \ econf \ - --disable-samples \ + $(use_enable clock-gettime) \ $(use_enable debug debug-mode) \ - $(use_enable debug malloc-replacement) \ + $(use_enable malloc-replacement 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) \ + $(use_enable verbose-debug) \ + --disable-samples } src_test() { diff --git a/dev-libs/libevent/libevent-2.1.9999.ebuild b/dev-libs/libevent/libevent-2.1.9999.ebuild index c9ecb810481e..087b14b61057 100644 --- a/dev-libs/libevent/libevent-2.1.9999.ebuild +++ b/dev-libs/libevent/libevent-2.1.9999.ebuild @@ -16,7 +16,10 @@ LICENSE="BSD" # libevent-2.1.so.6 SLOT="0/2.1-7" KEYWORDS="" -IUSE="debug libressl +ssl static-libs test +threads" +IUSE=" + clock-gettime debug libressl malloc-replacement +ssl static-libs test + +threads verbose-debug +" RESTRICT="test" DEPEND=" @@ -48,13 +51,15 @@ multilib_src_configure() { ECONF_SOURCE="${S}" \ econf \ - --disable-samples \ + $(use_enable clock-gettime) \ $(use_enable debug debug-mode) \ - $(use_enable debug malloc-replacement) \ + $(use_enable malloc-replacement 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) \ + $(use_enable verbose-debug) \ + --disable-samples } multilib_src_install_all() { diff --git a/dev-libs/libevent/libevent-9999.ebuild b/dev-libs/libevent/libevent-9999.ebuild index 4a9b798d3529..1554d5d7f7d4 100644 --- a/dev-libs/libevent/libevent-9999.ebuild +++ b/dev-libs/libevent/libevent-9999.ebuild @@ -14,7 +14,10 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" KEYWORDS="" -IUSE="debug libressl +ssl static-libs test +threads" +IUSE=" + clock-gettime debug libressl malloc-replacement +ssl static-libs test + +threads verbose-debug +" RESTRICT="test" DEPEND=" @@ -46,13 +49,15 @@ multilib_src_configure() { ECONF_SOURCE="${S}" \ econf \ - --disable-samples \ + $(use_enable clock-gettime) \ $(use_enable debug debug-mode) \ - $(use_enable debug malloc-replacement) \ + $(use_enable malloc-replacement 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) \ + $(use_enable verbose-debug) \ + --disable-samples } multilib_src_install_all() { diff --git a/dev-libs/libevent/metadata.xml b/dev-libs/libevent/metadata.xml index 6036c10bd580..0669d49f12f1 100644 --- a/dev-libs/libevent/metadata.xml +++ b/dev-libs/libevent/metadata.xml @@ -11,6 +11,9 @@ <remote-id type="github">libevent/libevent</remote-id> </upstream> <use> - <flag name="debug">Support runtime debug mode and malloc hooks (for programmers)</flag> + <flag name="clock-gettime">Disable use of clock_gettime even if it is available</flag> + <flag name="debug">Support for running in debug mode</flag> + <flag name="malloc-replacement">Support for replacing the memory management functions</flag> + <flag name="verbose-debug">Support for verbose debug logging</flag> </use> </pkgmetadata> |