sys-apps/attr: resture USE=nls support to 2.4.48
authorMike Frysinger <vapier@gentoo.org>
Tue, 19 Jun 2018 02:32:45 +0000 (22:32 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 19 Jun 2018 02:32:45 +0000 (22:32 -0400)
sys-apps/attr/attr-2.4.48.ebuild

index 378bc2b6cd46cb5c385e2e84ac0394ca1c7736c1..0de153129dfc27d4a99b1da1ecfd55d21d54bda9 100644 (file)
@@ -14,11 +14,11 @@ SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${P}.tar.xz"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
-IUSE="debug static-libs"
+IUSE="debug nls static-libs"
 
 DEPEND="
        sys-devel/autoconf
-       sys-devel/gettext
+       nls? ( sys-devel/gettext )
 "
 
 PATCHES=(
@@ -40,6 +40,7 @@ multilib_src_configure() {
        local myeconfargs=(
                --bindir="${EPREFIX}"/bin
                --enable-shared $(use_enable static-libs static)
+               $(use_enable nls)
                --libexecdir="${EPREFIX}"/usr/$(get_libdir)
                $(use_enable debug)
        )