public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Matthias Schwarzott <zzam@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: Matthias Schwarzott <zzam@gentoo.org>
Subject: [gentoo-dev] [PATCH] games-engines/stratagus: Unbreak USE=debug case
Date: Thu, 15 Feb 2024 14:25:53 +0100	[thread overview]
Message-ID: <20240215132553.13613-1-zzam@gentoo.org> (raw)
In-Reply-To: <30d6545e-c1b3-4b30-bad8-74274adbded1@gentoo.org>

Avoid renaming stratagus executable if compiled with USE=debug.
It would end up as /usr/bin/stratatgus-dbg instead of /usr/bin/stratatgus.

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
---
 games-engines/stratagus/stratagus-3.3.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-engines/stratagus/stratagus-3.3.2.ebuild b/games-engines/stratagus/stratagus-3.3.2.ebuild
index 1828b8874857..6e068b63a521 100644
--- a/games-engines/stratagus/stratagus-3.3.2.ebuild
+++ b/games-engines/stratagus/stratagus-3.3.2.ebuild
@@ -57,6 +57,7 @@ PATCHES=(
 
 src_prepare() {
 	sed -i -e 's:-Werror::' CMakeLists.txt || die
+	sed -i -e '/set_target_properties(stratagus .*)/d' CMakeLists.txt || die
 	cmake_src_prepare
 }
 
-- 
2.43.1



  reply	other threads:[~2024-02-15 13:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-15 12:53 [gentoo-dev] [PATCH] games-strategy/wargus: Fix running it with games-engines/stratagus[debug] Matthias Schwarzott
2024-02-15 12:59 ` Eli Schwartz
2024-02-15 13:21   ` zzam
2024-02-15 13:25     ` Matthias Schwarzott [this message]
2024-02-15 13:37     ` [gentoo-dev] [PATCH v2] games-engines/stratagus: Unbreak USE=debug case Matthias Schwarzott
2024-02-15 14:09     ` [gentoo-dev] [PATCH] games-strategy/wargus: Fix running it with games-engines/stratagus[debug] Michał Górny
2024-02-15 14:23       ` parona
2024-02-15 15:06         ` Michał Górny
2024-02-15 19:10           ` zzam

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=20240215132553.13613-1-zzam@gentoo.org \
    --to=zzam@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