From: Akinori Hattori Date: Sat, 16 May 2020 15:04:22 +0000 (+0900) Subject: app-editors/aee: fix build with sys-libs/ncurses[tinfo] X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=534e5ea7e9f5aa15de74a6da8004cf530f91a34f;p=gentoo.git 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 --- 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