summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2022-04-11 20:57:06 +0200
committerSebastian Pipping <sping@gentoo.org>2022-04-11 20:57:56 +0200
commitac39fc8141126f2eb27c9fe4d052007b97219109 (patch)
tree62f80f167a18a26abb3ae111b01015761fdcabbe /net-libs
parenteclass/cdrom.eclass: add EAPI 8 (diff)
downloadgentoo-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.ebuild7
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
+}