commit:     09eb27be1df0dcaa7559639251454a210eb10374
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat May 16 15:02:09 2020 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat May 16 15:02:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09eb27be

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

 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 ad4bb78c853..0cf7383a4c7 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

Reply via email to