commit:     534e5ea7e9f5aa15de74a6da8004cf530f91a34f
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat May 16 15:04:22 2020 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat May 16 15:04:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=534e5ea7

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 <hattya <AT> gentoo.org>

 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 69453af195f..b4b1aa5d647 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

Reply via email to