mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 23:39:00 -04:00
games-roguelike/cataclysm-dda: Fix locale file collisions
Signed-off-by: strategictraveler <strategictraveler@proton.me>
This commit is contained in:
parent
00dc1f6fa3
commit
4b5b48c3a8
@ -85,8 +85,11 @@ src_prepare() {
|
||||
-e "s/cataclysm.a/cataclysm-${SLOT}.a/g" \
|
||||
-e "s/\$(BUILD_PREFIX)//g" || die # BUILD_PREFIX is also used by portage
|
||||
|
||||
sed -i -e "/${PN}.mo/"'!'"s/${PN}/${PN}-${SLOT}/" \
|
||||
"src/path_info.cpp" || die
|
||||
sed -i -e "s/${PN}/${PN}-${SLOT}/" \
|
||||
"lang/Makefile" \
|
||||
"src/path_info.cpp" \
|
||||
"src/translation_manager_impl.cpp" \
|
||||
"tests/translation_system_test.cpp" || die
|
||||
|
||||
# from upstream 1ab7d17
|
||||
# NOTE: remove when bumping
|
||||
|
@ -84,8 +84,11 @@ src_prepare() {
|
||||
-e "s/cataclysm.a/cataclysm-${SLOT}.a/g" \
|
||||
-e "s/\$(BUILD_PREFIX)//g" || die # BUILD_PREFIX is also used by portage
|
||||
|
||||
sed -i -e "/${PN}.mo/"'!'"s/${PN}/${PN}-${SLOT}/" \
|
||||
"src/path_info.cpp" || die
|
||||
sed -i -e "s/${PN}/${PN}-${SLOT}/" \
|
||||
"lang/Makefile" \
|
||||
"src/path_info.cpp" \
|
||||
"src/translation_manager_impl.cpp" \
|
||||
"tests/translation_system_test.cpp" || die
|
||||
|
||||
sed -i -e "s/cataclysm-tiles/cataclysm-tiles-${SLOT}/g" \
|
||||
"data/xdg/org.cataclysmdda.CataclysmDDA.desktop" || die
|
||||
|
Loading…
x
Reference in New Issue
Block a user