Skip to content

Commit

Permalink
app-editors/lpe: fix ncurses discovery
Browse files Browse the repository at this point in the history
I originally tested on a macOS Prefix which
apparently has non-split tinfo.

Closes: https://bugs.gentoo.org/779778
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 2, 2021
1 parent d64427c commit 5ea6be8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app-editors/lpe/lpe-1.2.8_p20210401.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ea6be8

Please sign in to comment.