summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-10-14 09:50:57 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-10-14 09:50:57 +0200
commit3e3fa64d749106dca66d1c4b486833f1d3df28c8 (patch)
tree25b60b3367d7ed352232c6fde254a2f9a61032c9
parentmail-mta/msmtp: Fix internal collision. (diff)
downloadgentoo-3e3fa64d749106dca66d1c4b486833f1d3df28c8.tar.gz
gentoo-3e3fa64d749106dca66d1c4b486833f1d3df28c8.tar.bz2
gentoo-3e3fa64d749106dca66d1c4b486833f1d3df28c8.zip
sys-libs/readline: Introduced "unicode" USE flag in stable as well
Bug: https://bugs.gentoo.org/669214 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--sys-libs/readline/readline-7.0_p5-r1.ebuild (renamed from sys-libs/readline/readline-7.0_p5.ebuild)6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/readline/readline-7.0_p5.ebuild b/sys-libs/readline/readline-7.0_p5-r1.ebuild
index 04e6ade437a..0facdfe5f11 100644
--- a/sys-libs/readline/readline-7.0_p5.ebuild
+++ b/sys-libs/readline/readline-7.0_p5-r1.ebuild
@@ -42,9 +42,9 @@ esac
LICENSE="GPL-3"
SLOT="0/7" # subslot matches SONAME major
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sparc x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs utils"
+IUSE="static-libs +unicode utils"
-RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[static-libs?,${MULTILIB_USEDEP}]"
+RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[static-libs?,unicode?,${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -70,7 +70,7 @@ src_prepare() {
# Force ncurses linking. #71420
# Use pkg-config to get the right values. #457558
- local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
+ local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses$(usex unicode w '') --libs)
sed -i \
-e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \
support/shobj-conf || die