diff options
-rw-r--r-- | app-editors/lpe/lpe-1.2.8_p20210401.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app-editors/lpe/lpe-1.2.8_p20210401.ebuild b/app-editors/lpe/lpe-1.2.8_p20210401.ebuild index 549d8c087e37..4cf5b201a5ba 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 |