commit: 5ea6be86d6e62ea1e0e0fd25ab1afe8f2bb3646f Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Apr 2 13:51:40 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Apr 2 13:59:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea6be86
app-editors/lpe: fix ncurses discovery I originally tested on a macOS Prefix which apparently has non-split tinfo. Closes: https://bugs.gentoo.org/779778 Signed-off-by: Sam James <sam <AT> gentoo.org> app-editors/lpe/lpe-1.2.8_p20210401.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app-editors/lpe/lpe-1.2.8_p20210401.ebuild b/app-editors/lpe/lpe-1.2.8_p20210401.ebuild index 549d8c087e3..4cf5b201a5b 100644 --- a/app-editors/lpe/lpe-1.2.8_p20210401.ebuild +++ b/app-editors/lpe/lpe-1.2.8_p20210401.ebuild @@ -37,7 +37,13 @@ src_prepare() { # That is, if you need eautoreconf sed -i \ -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs-only-l ncurses):" \ - src/Makefile.in || die + configure.ac || die + + # Actually use what configure discovers (above) + # bug #779778 + sed -i \ + -e 's:-lncurses:@NCURSES_LIB@:' \ + src/Makefile.am || die # Refresh outdated libtool (elibtoolize insufficient) # Fixes undefined references on macOS/Darwin
