public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Adam Pimentel" <adam.pimentel@protonmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/polyseed/
Date: Tue, 30 May 2023 06:23:40 +0000 (UTC)	[thread overview]
Message-ID: <1685427759.f28a019f9fa619c913b8f6a8558e570a4ec43f57.adam.pimentel@gentoo> (raw)

commit:     f28a019f9fa619c913b8f6a8558e570a4ec43f57
Author:     Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com>
AuthorDate: Tue May 30 06:22:39 2023 +0000
Commit:     Adam Pimentel <adam.pimentel <AT> protonmail <DOT> 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 <adam.pimentel <AT> 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" "")
 }


             reply	other threads:[~2023-05-30  6:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-30  6:23 Adam Pimentel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-15  2:15 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/polyseed/ Adam Pimentel
2023-03-15  2:09 Adam Pimentel
2023-03-15  1:03 Adam Pimentel
2022-12-20  0:23 Adam Pimentel

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=1685427759.f28a019f9fa619c913b8f6a8558e570a4ec43f57.adam.pimentel@gentoo \
    --to=adam.pimentel@protonmail.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