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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53BEE15806E for ; Tue, 30 May 2023 06:23:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8414AE0F25; Tue, 30 May 2023 06:23:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E501E0F25 for ; Tue, 30 May 2023 06:23:43 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27A33341109 for ; Tue, 30 May 2023 06:23:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65D58A6F for ; Tue, 30 May 2023 06:23:40 +0000 (UTC) From: "Adam Pimentel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Adam Pimentel" Message-ID: <1685427759.f28a019f9fa619c913b8f6a8558e570a4ec43f57.adam.pimentel@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/polyseed/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/polyseed/polyseed-1.0.0.ebuild dev-libs/polyseed/polyseed-2.0.0.ebuild dev-libs/polyseed/polyseed-9999.ebuild X-VCS-Directories: dev-libs/polyseed/ X-VCS-Committer: adam.pimentel X-VCS-Committer-Name: Adam Pimentel X-VCS-Revision: f28a019f9fa619c913b8f6a8558e570a4ec43f57 X-VCS-Branch: dev Date: Tue, 30 May 2023 06:23: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: 64688c56-9ab3-493d-8084-31b2692ac289 X-Archives-Hash: aad95283191b17643ab3be79404ec602 commit: f28a019f9fa619c913b8f6a8558e570a4ec43f57 Author: Adam Pimentel protonmail com> AuthorDate: Tue May 30 06:22:39 2023 +0000 Commit: Adam Pimentel protonmail com> CommitDate: Tue May 30 06:22:39 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f28a019f dev-libs/polyseed: prevent building static-libs without static-libs USE Signed-off-by: Adam Pimentel protonmail.com> dev-libs/polyseed/polyseed-1.0.0.ebuild | 7 ++++++- dev-libs/polyseed/polyseed-2.0.0.ebuild | 7 ++++++- dev-libs/polyseed/polyseed-9999.ebuild | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/dev-libs/polyseed/polyseed-1.0.0.ebuild b/dev-libs/polyseed/polyseed-1.0.0.ebuild index 34315cc38..edb37dcde 100644 --- a/dev-libs/polyseed/polyseed-1.0.0.ebuild +++ b/dev-libs/polyseed/polyseed-1.0.0.ebuild @@ -15,6 +15,11 @@ KEYWORDS="~amd64" IUSE="static-libs test" BDEPEND="virtual/pkgconfig" +src_prepare() { + sed -i "s/install(TARGETS polyseed polyseed_static/install(TARGETS polyseed/g" "${S}"/CMakeLists.txt + cmake_src_prepare +} + src_compile() { - cmake_build polyseed $(usex "static-libs" "polyseed_static" "") $(usex "test" "polyseed-tests" "") + cmake_build polyseed $(usex "static-libs" "polyseed_static" "") $(usex "test" "polyseed-tests" "") } diff --git a/dev-libs/polyseed/polyseed-2.0.0.ebuild b/dev-libs/polyseed/polyseed-2.0.0.ebuild index 34315cc38..edb37dcde 100644 --- a/dev-libs/polyseed/polyseed-2.0.0.ebuild +++ b/dev-libs/polyseed/polyseed-2.0.0.ebuild @@ -15,6 +15,11 @@ KEYWORDS="~amd64" IUSE="static-libs test" BDEPEND="virtual/pkgconfig" +src_prepare() { + sed -i "s/install(TARGETS polyseed polyseed_static/install(TARGETS polyseed/g" "${S}"/CMakeLists.txt + cmake_src_prepare +} + src_compile() { - cmake_build polyseed $(usex "static-libs" "polyseed_static" "") $(usex "test" "polyseed-tests" "") + cmake_build polyseed $(usex "static-libs" "polyseed_static" "") $(usex "test" "polyseed-tests" "") } diff --git a/dev-libs/polyseed/polyseed-9999.ebuild b/dev-libs/polyseed/polyseed-9999.ebuild index 5d1d71010..fe4c0c6b2 100644 --- a/dev-libs/polyseed/polyseed-9999.ebuild +++ b/dev-libs/polyseed/polyseed-9999.ebuild @@ -16,6 +16,11 @@ KEYWORDS="" IUSE="static-libs test" BDEPEND="virtual/pkgconfig" +src_prepare() { + sed -i "s/install(TARGETS polyseed polyseed_static/install(TARGETS polyseed/g" "${S}"/CMakeLists.txt + cmake_src_prepare +} + src_compile() { - cmake_build polyseed $(usex "static-libs" "polyseed_static" "") $(usex "test" "polyseed-tests" "") + cmake_build polyseed $(usex "static-libs" "polyseed_static" "") $(usex "test" "polyseed-tests" "") }