commit:     6c9d2edd5ff54e250bebd615f70487a9dac31d34
Author:     strategictraveler <strategictraveler <AT> proton <DOT> me>
AuthorDate: Tue Dec 24 10:06:19 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Dec 24 10:06:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c9d2edd

games-roguelike/cataclysm-dda: Fix locales not installing

Signed-off-by: strategictraveler <strategictraveler <AT> proton.me>

 games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild   | 6 ++----
 games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild 
b/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild
index 0f5301af3..aa956edaa 100644
--- a/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild
+++ b/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild
@@ -116,6 +116,8 @@ src_compile() {
                USE_XDG_DIR=1
        )
 
+       use nls && export LANGUAGES="all"
+
        if use ncurses; then
                # don't build tests twice
                if ! use tiles; then
@@ -135,10 +137,6 @@ src_compile() {
                        "TESTS=$(usex test 1 0)" \
                        "TILES=$(usex tiles 1 0)"
        fi
-
-       if use nls; then
-               emake localization
-       fi
 }
 
 src_install() {

diff --git a/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild 
b/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild
index 679c8f450..fa04fdaf0 100644
--- a/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild
+++ b/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild
@@ -109,6 +109,8 @@ src_compile() {
                USE_XDG_DIR=1
        )
 
+       use nls && export LANGUAGES="all"
+
        if use ncurses; then
                # don't build tests twice
                if ! use tiles; then
@@ -128,10 +130,6 @@ src_compile() {
                        "TESTS=$(usex test 1 0)" \
                        "TILES=$(usex tiles 1 0)"
        fi
-
-       if use nls; then
-               emake localization
-       fi
 }
 
 src_install() {

Reply via email to