From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B733315808B for ; Mon, 11 Apr 2022 18:58:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC24FE0946; Mon, 11 Apr 2022 18:58:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 11122E0946 for ; Mon, 11 Apr 2022 18:58:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC2B9341A1F for ; Mon, 11 Apr 2022 18:58:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 531D9105 for ; Mon, 11 Apr 2022 18:58:36 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1649703476.ac39fc8141126f2eb27c9fe4d052007b97219109.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libomemo/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libomemo/libomemo-0.8.1.ebuild X-VCS-Directories: net-libs/libomemo/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: ac39fc8141126f2eb27c9fe4d052007b97219109 X-VCS-Branch: master Date: Mon, 11 Apr 2022 18:58:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 31c39eb4-588d-4937-aa3f-b45dc89b41df X-Archives-Hash: ea98f251b2f1290d2b4b0256ee8f8442 commit: ac39fc8141126f2eb27c9fe4d052007b97219109 Author: Sebastian Pipping gentoo org> AuthorDate: Mon Apr 11 18:57:06 2022 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Mon Apr 11 18:57:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac39fc81 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 gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 net-libs/libomemo/libomemo-0.8.1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) 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 +}