From 6c9d2edd5ff54e250bebd615f70487a9dac31d34 Mon Sep 17 00:00:00 2001 From: strategictraveler Date: Tue, 24 Dec 2024 10:06:19 +0000 Subject: [PATCH] games-roguelike/cataclysm-dda: Fix locales not installing Signed-off-by: strategictraveler --- 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 0f5301af39..aa956edaad 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 679c8f450c..fa04fdaf00 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() {