summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2018-04-11 04:37:09 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-04-11 09:28:20 +0200
commit883161e04f4709b720ff0142a6990a70011dbfb7 (patch)
tree4fe5d849457c014b9ad8c30a2a0c514150030e44 /sys-apps/util-linux
parentsys-apps/util-linux: Install libfdisk.so.1 library in /lib. (diff)
downloadgentoo-883161e04f4709b720ff0142a6990a70011dbfb7.tar.gz
gentoo-883161e04f4709b720ff0142a6990a70011dbfb7.tar.bz2
gentoo-883161e04f4709b720ff0142a6990a70011dbfb7.zip
sys-apps/util-linux: Make USE="nls" enable NLS support in libraries built for non-native ABIs.
Also add missing dependency on virtual/libintl. Closes: https://bugs.gentoo.org/652950
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r--sys-apps/util-linux/util-linux-2.32-r3.ebuild3
-rw-r--r--sys-apps/util-linux/util-linux-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys-apps/util-linux/util-linux-2.32-r3.ebuild b/sys-apps/util-linux/util-linux-2.32-r3.ebuild
index 05cd2776ea66..84635141a03c 100644
--- a/sys-apps/util-linux/util-linux-2.32-r3.ebuild
+++ b/sys-apps/util-linux/util-linux-2.32-r3.ebuild
@@ -32,6 +32,7 @@ IUSE="build caps +cramfs fdformat kill ncurses nls pam python +readline selinux
RDEPEND="caps? ( sys-libs/libcap-ng )
cramfs? ( sys-libs/zlib:= )
ncurses? ( >=sys-libs/ncurses-5.2-r2:0=[unicode?] )
+ nls? ( virtual/libintl[${MULTILIB_USEDEP}] )
pam? ( sys-libs/pam )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
@@ -123,7 +124,6 @@ multilib_src_configure() {
local myeconfargs=(
--enable-fs-paths-extra="${EPREFIX}/usr/sbin:${EPREFIX}/bin:${EPREFIX}/usr/bin"
--with-bashcompletiondir="$(get_bashcompdir)"
- $(multilib_native_use_enable nls)
$(multilib_native_use_enable suid makeinstall-chown)
$(multilib_native_use_enable suid makeinstall-setuid)
$(multilib_native_use_with python)
@@ -134,6 +134,7 @@ multilib_src_configure() {
$(multilib_native_usex ncurses "$(use_with unicode ncursesw)" '--without-ncursesw')
$(multilib_native_usex ncurses "$(use_with !unicode ncurses)" '--without-ncurses')
$(tc-has-tls || echo --disable-tls)
+ $(use_enable nls)
$(use_enable unicode widechar)
$(use_enable static-libs static)
$(use_with selinux)
diff --git a/sys-apps/util-linux/util-linux-9999.ebuild b/sys-apps/util-linux/util-linux-9999.ebuild
index e4fc6a2c7adc..99693cd3a247 100644
--- a/sys-apps/util-linux/util-linux-9999.ebuild
+++ b/sys-apps/util-linux/util-linux-9999.ebuild
@@ -32,6 +32,7 @@ IUSE="build caps +cramfs fdformat kill ncurses nls pam python +readline selinux
RDEPEND="caps? ( sys-libs/libcap-ng )
cramfs? ( sys-libs/zlib:= )
ncurses? ( >=sys-libs/ncurses-5.2-r2:0=[unicode?] )
+ nls? ( virtual/libintl[${MULTILIB_USEDEP}] )
pam? ( sys-libs/pam )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
@@ -119,7 +120,6 @@ multilib_src_configure() {
local myeconfargs=(
--enable-fs-paths-extra="${EPREFIX}/usr/sbin:${EPREFIX}/bin:${EPREFIX}/usr/bin"
--with-bashcompletiondir="$(get_bashcompdir)"
- $(multilib_native_use_enable nls)
$(multilib_native_use_enable suid makeinstall-chown)
$(multilib_native_use_enable suid makeinstall-setuid)
$(multilib_native_use_with python)
@@ -130,6 +130,7 @@ multilib_src_configure() {
$(multilib_native_usex ncurses "$(use_with unicode ncursesw)" '--without-ncursesw')
$(multilib_native_usex ncurses "$(use_with !unicode ncurses)" '--without-ncurses')
$(tc-has-tls || echo --disable-tls)
+ $(use_enable nls)
$(use_enable unicode widechar)
$(use_enable static-libs static)
$(use_with selinux)