sys-devel/gettext: respect USE=nls all the time
authorMike Frysinger <vapier@gentoo.org>
Mon, 12 Oct 2015 23:11:55 +0000 (19:11 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 13 Oct 2015 00:14:32 +0000 (20:14 -0400)
Building of the libiconv library is orthogonal to general nls support,
so respect that configure flag for all builds and not just the system
libiconv cases.

sys-devel/gettext/gettext-0.19.6-r1.ebuild

index 6f23d99976365e5648b0f3345fec5d7a21ad66f6..4ade3f63a9e62ea719b75439c370717b0dd8890c 100644 (file)
@@ -72,21 +72,16 @@ multilib_src_configure() {
                $(usex git --without-cvs $(use_with cvs))
                $(use_enable java)
                $(use_enable ncurses curses)
+               $(use_enable nls)
                $(use_enable openmp)
                $(use_enable static-libs static)
        )
 
        # Build with --without-included-gettext (on glibc systems)
        if use elibc_glibc || use elibc_musl ; then
-               myconf+=(
-                       --without-included-gettext
-                       $(use_enable nls)
-               )
+               myconf+=( --without-included-gettext )
        else
-               myconf+=(
-                       --with-included-gettext
-                       --enable-nls
-               )
+               myconf+=( --with-included-gettext )
        fi
 
        local ECONF_SOURCE=${S}