public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/fizz/
Date: Tue, 26 Oct 2021 16:35:11 +0000 (UTC)	[thread overview]
Message-ID: <1635266107.7b5b7a5652d0d637c1538474374a24c2480fe347.Alessandro-Barbieri@gentoo> (raw)

commit:     7b5b7a5652d0d637c1538474374a24c2480fe347
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Oct 26 15:58:12 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Oct 26 16:35:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b5b7a56

dev-cpp/fizz: fix build error with latest gtest

Closes: https://bugs.gentoo.org/820290
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/fizz/fizz-2021.10.25.00.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-cpp/fizz/fizz-2021.10.25.00.ebuild b/dev-cpp/fizz/fizz-2021.10.25.00.ebuild
index a1908fcff..12e7ec567 100644
--- a/dev-cpp/fizz/fizz-2021.10.25.00.ebuild
+++ b/dev-cpp/fizz/fizz-2021.10.25.00.ebuild
@@ -7,14 +7,12 @@ inherit cmake
 
 DESCRIPTION="C++14 implementation of the TLS-1.3 standard"
 HOMEPAGE="https://github.com/facebookincubator/fizz"
-
 SRC_URI="https://github.com/facebookincubator/fizz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
-
-CMAKE_USE_DIR="${S}/fizz"
+IUSE="examples test"
 
 RDEPEND="
 	~dev-cpp/folly-${PV}:=
@@ -29,9 +27,12 @@ RDEPEND="
 #TODO: discover if gtest is linked
 DEPEND="
 	${RDEPEND}
-	dev-cpp/gtest
+	test? ( <dev-cpp/gtest-1.11.0 )
 "
 
+RESTRICT="!test? ( test )"
+CMAKE_USE_DIR="${S}/fizz"
+
 src_prepare() {
 	cmake_src_prepare
 	sed -i '/Sodium/d' fizz/cmake/fizz-config.cmake.in || die
@@ -39,6 +40,8 @@ src_prepare() {
 
 src_configure() {
 	local mycmakeargs=(
+		-DBUILD_EXAMPLES=$(usex examples)
+		-DBUILD_TESTS=$(usex test)
 		-DLIB_INSTALL_DIR=$(get_libdir)
 	)
 


             reply	other threads:[~2021-10-26 16:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26 16:35 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-15 15:45 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/fizz/ Julien Roy
2023-02-28 12:58 Denis Reva
2022-04-20 21:57 Alessandro Barbieri
2022-04-16 18:46 Alessandro Barbieri
2022-04-01 14:41 Yuan Liao
2022-03-22 17:48 Alessandro Barbieri
2022-03-07  4:17 Alessandro Barbieri
2022-03-06  2:22 Alessandro Barbieri
2021-11-26 11:34 Denis Reva
2021-10-26 16:35 Alessandro Barbieri
2021-10-25 11:20 Alessandro Barbieri
2021-10-23 14:18 Alessandro Barbieri
2021-10-05 20:50 Alessandro Barbieri
2021-07-05  8:44 Alessandro Barbieri
2021-06-17 16:26 Alessandro Barbieri
2021-06-15 23:32 Alessandro Barbieri
2021-06-14  2:27 Alessandro Barbieri
2021-05-27 10:23 Alessandro Barbieri
2021-05-05  7:32 Alessandro Barbieri
2021-04-28 21:15 Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1635266107.7b5b7a5652d0d637c1538474374a24c2480fe347.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox