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 E79AF158649 for ; Wed, 10 May 2023 20:19:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10556E0AD9; Wed, 10 May 2023 20:19:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id EADF1E0AD9 for ; Wed, 10 May 2023 20:19:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 34402335D7D for ; Wed, 10 May 2023 20:19:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C288F8E4 for ; Wed, 10 May 2023 20:19:40 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1683749972.bda61b8496d6d7d698797f2451e5235abab34628.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/gdal/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/gdal/gdal-3.7.0.ebuild X-VCS-Directories: sci-libs/gdal/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bda61b8496d6d7d698797f2451e5235abab34628 X-VCS-Branch: master Date: Wed, 10 May 2023 20:19:40 +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: 5b6c62a4-aa55-4f5c-8aaf-cccb41408ae1 X-Archives-Hash: 4b7001a5ce4936e743c86c9c57a14717 commit: bda61b8496d6d7d698797f2451e5235abab34628 Author: Sam James gentoo org> AuthorDate: Wed May 10 20:17:33 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 10 20:19:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bda61b84 sci-libs/gdal: make USE_EXTERNAL_GTEST conditional on tests Closes: https://bugs.gentoo.org/906092 Signed-off-by: Sam James gentoo.org> sci-libs/gdal/gdal-3.7.0.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sci-libs/gdal/gdal-3.7.0.ebuild b/sci-libs/gdal/gdal-3.7.0.ebuild index ef7fc667de4d..7015e10d415d 100644 --- a/sci-libs/gdal/gdal-3.7.0.ebuild +++ b/sci-libs/gdal/gdal-3.7.0.ebuild @@ -122,7 +122,6 @@ src_configure() { -DENABLE_IPO=OFF -DGDAL_USE_EXTERNAL_LIBS=ON -DGDAL_USE_INTERNAL_LIBS=OFF - -DUSE_EXTERNAL_GTEST=ON -DBUILD_TESTING=$(usex test) # bug #844874 and bug #845150 @@ -233,6 +232,10 @@ src_configure() { #-Dtest_xop=$(usex cpu_flags_x86_xop) ) + if use test ; then + mycmakeargs+=( -DUSE_EXTERNAL_GTEST=ON ) + fi + cmake_src_configure }