sys-devel/gettext: respect USE=nls all the time

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.
This commit is contained in:
Mike Frysinger
2015-10-12 19:11:55 -04:00
parent 179f6d9db9
commit 030b323567

View 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}