summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2020-05-17 00:02:09 +0900
committerAkinori Hattori <hattya@gentoo.org>2020-05-17 00:02:09 +0900
commit09eb27be1df0dcaa7559639251454a210eb10374 (patch)
tree26124e6b15f02f3c6eee7efd53f1e802cbc2b178 /app-editors
parentmedia-libs/compface: fix configure (diff)
downloadgentoo-09eb27be1df0dcaa7559639251454a210eb10374.tar.gz
gentoo-09eb27be1df0dcaa7559639251454a210eb10374.tar.bz2
gentoo-09eb27be1df0dcaa7559639251454a210eb10374.zip
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@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/ee/ee-1.5.2.ebuild2
1 files changed, 2 insertions, 0 deletions
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