summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-15 16:10:06 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-15 16:15:42 +0100
commit01f7deb623eb98b6340248693e114410f09a80d7 (patch)
tree225a99cd349ddbbb99b1d9525e84cf73a2affe2d /games-engines
parentgames-engines/stratagus: Remove old (diff)
downloadgentoo-01f7deb623eb98b6340248693e114410f09a80d7.tar.gz
gentoo-01f7deb623eb98b6340248693e114410f09a80d7.tar.bz2
gentoo-01f7deb623eb98b6340248693e114410f09a80d7.zip
games-engines/stratagus: Stop renaming for USE=debug
Stop forcing CMAKE_BUILD_TYPE=Debug for USE=type, that would cause the executable to be renamed. Instead, set -DDEBUG directly. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/stratagus/stratagus-3.3.2-r1.ebuild (renamed from games-engines/stratagus/stratagus-3.3.2.ebuild)2
1 files changed, 1 insertions, 1 deletions
diff --git a/games-engines/stratagus/stratagus-3.3.2.ebuild b/games-engines/stratagus/stratagus-3.3.2-r1.ebuild
index 1828b8874857..4492149c283c 100644
--- a/games-engines/stratagus/stratagus-3.3.2.ebuild
+++ b/games-engines/stratagus/stratagus-3.3.2-r1.ebuild
@@ -62,7 +62,7 @@ src_prepare() {
src_configure() {
# there are in-source switches
- use debug && CMAKE_BUILD_TYPE=Debug
+ use debug && local -x CPPFLAGS="${CPPFLAGS} -DDEBUG"
local mycmakeargs=(
-DGAMEDIR="${EPREFIX}/usr/bin"