From 3e3fa64d749106dca66d1c4b486833f1d3df28c8 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 14 Oct 2019 09:50:57 +0200 Subject: [PATCH] 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 --- .../{readline-7.0_p5.ebuild => readline-7.0_p5-r1.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename sys-libs/readline/{readline-7.0_p5.ebuild => readline-7.0_p5-r1.ebuild} (96%) diff --git a/sys-libs/readline/readline-7.0_p5.ebuild b/sys-libs/readline/readline-7.0_p5-r1.ebuild similarity index 96% rename from sys-libs/readline/readline-7.0_p5.ebuild rename to sys-libs/readline/readline-7.0_p5-r1.ebuild index 04e6ade437a4..0facdfe5f115 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 -- 2.26.2