From 534e5ea7e9f5aa15de74a6da8004cf530f91a34f Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sun, 17 May 2020 00:04:22 +0900 Subject: [PATCH] app-editors/aee: fix build with sys-libs/ncurses[tinfo] Closes: https://bugs.gentoo.org/715782 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori --- app-editors/aee/aee-2.2.21.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app-editors/aee/aee-2.2.21.ebuild b/app-editors/aee/aee-2.2.21.ebuild index 69453af195f6..b4b1aa5d647e 100644 --- a/app-editors/aee/aee-2.2.21.ebuild +++ b/app-editors/aee/aee-2.2.21.ebuild @@ -17,6 +17,7 @@ IUSE="X" RDEPEND="X? ( x11-libs/libX11 )" DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${PN}-ae-location.patch @@ -36,6 +37,7 @@ src_prepare() { -e "s/\([\t ]\)cc /\1\\\\\$(CC) /" \ -e "/CFLAGS =/s/\" >/ \\\\\$(LDFLAGS)\" >/" \ -e "/other_cflag/s/ \${strip_option}//" \ + -e "s/-lcurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \ create.mk.{aee,xae} default -- 2.26.2