diff options
author | Sebastian Pipping <sping@gentoo.org> | 2022-04-11 20:57:06 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2022-04-11 20:57:56 +0200 |
commit | ac39fc8141126f2eb27c9fe4d052007b97219109 (patch) | |
tree | 62f80f167a18a26abb3ae111b01015761fdcabbe /net-libs | |
parent | eclass/cdrom.eclass: add EAPI 8 (diff) | |
download | gentoo-ac39fc8141126f2eb27c9fe4d052007b97219109.tar.gz gentoo-ac39fc8141126f2eb27c9fe4d052007b97219109.tar.bz2 gentoo-ac39fc8141126f2eb27c9fe4d052007b97219109.zip |
net-libs/libomemo: Make 0.8.1 USE=-test work without dev-util/cmocka
Closes: https://bugs.gentoo.org/837827
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libomemo/libomemo-0.8.1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net-libs/libomemo/libomemo-0.8.1.ebuild b/net-libs/libomemo/libomemo-0.8.1.ebuild index ba4a9ee43a58..5871eea1c6cb 100644 --- a/net-libs/libomemo/libomemo-0.8.1.ebuild +++ b/net-libs/libomemo/libomemo-0.8.1.ebuild @@ -29,3 +29,10 @@ DEPEND=" RESTRICT="!test? ( test )" DOCS=( CHANGELOG.md README.md ) + +src_configure() { + local mycmakeargs=( + -DOMEMO_WITH_TESTS=$(usex test) + ) + cmake_src_configure +} |