From 09eb27be1df0dcaa7559639251454a210eb10374 Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sun, 17 May 2020 00:02:09 +0900 Subject: [PATCH] app-editors/ee: fix build with sys-libs/ncurses[tinfo] Closes: https://bugs.gentoo.org/713954 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori --- app-editors/ee/ee-1.5.2.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app-editors/ee/ee-1.5.2.ebuild b/app-editors/ee/ee-1.5.2.ebuild index ad4bb78c8530..0cf7383a4c7e 100644 --- a/app-editors/ee/ee-1.5.2.ebuild +++ b/app-editors/ee/ee-1.5.2.ebuild @@ -16,6 +16,7 @@ KEYWORDS="~alpha amd64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux IUSE="" RDEPEND="!app-editors/ersatz-emacs" +BDEPEND="virtual/pkgconfig" S="${WORKDIR}/easyedit-${PV}" PATCHES=( @@ -36,6 +37,7 @@ src_prepare() { -e "s/\tcc /\t\\\\\$(CC) /" \ -e "/CFLAGS =/s/\" >/ \\\\\$(LDFLAGS)\" >/" \ -e "/other_cflag/s/ *-s//" \ + -e "s/-lcurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \ create.make default -- 2.26.2