commit:     4a45771b888dc935d2d8ee0cad6d358a829b5e83
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  6 09:41:32 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Apr  6 09:42:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a45771b

app-text/xchm: Add dependencies for USE=nls

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 app-text/xchm/xchm-1.28.ebuild | 9 +++++----
 app-text/xchm/xchm-9999.ebuild | 9 +++++----
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/app-text/xchm/xchm-1.28.ebuild b/app-text/xchm/xchm-1.28.ebuild
index 9f81e492b56..8a1516c3220 100644
--- a/app-text/xchm/xchm-1.28.ebuild
+++ b/app-text/xchm/xchm-1.28.ebuild
@@ -3,7 +3,6 @@
 
 EAPI=6
 WX_GTK_VER="3.0-gtk3"
-
 inherit autotools wxwidgets xdg-utils
 
 DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files"
@@ -15,12 +14,14 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="nls"
 
-DEPEND="
+RDEPEND="
        >=dev-libs/chmlib-0.36
        x11-libs/wxGTK:${WX_GTK_VER}[X]
+       nls? ( virtual/libintl )
 "
-RDEPEND="
-       ${DEPEND}
+DEPEND="
+       ${RDEPEND}
+       nls? ( sys-devel/gettext )
 "
 
 src_prepare() {

diff --git a/app-text/xchm/xchm-9999.ebuild b/app-text/xchm/xchm-9999.ebuild
index ff28fc53413..bff0e4a4ffa 100644
--- a/app-text/xchm/xchm-9999.ebuild
+++ b/app-text/xchm/xchm-9999.ebuild
@@ -3,7 +3,6 @@
 
 EAPI=6
 WX_GTK_VER="3.0-gtk3"
-
 inherit autotools git-r3 wxwidgets xdg-utils
 
 DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files"
@@ -15,12 +14,14 @@ SLOT="0"
 KEYWORDS=""
 IUSE="nls"
 
-DEPEND="
+RDEPEND="
        >=dev-libs/chmlib-0.36
        x11-libs/wxGTK:${WX_GTK_VER}[X]
+       nls? ( virtual/libintl )
 "
-RDEPEND="
-       ${DEPEND}
+DEPEND="
+       ${RDEPEND}
+       nls? ( sys-devel/gettext )
 "
 
 src_prepare() {

Reply via email to