summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-02 13:51:40 +0000
committerSam James <sam@gentoo.org>2021-04-02 13:59:27 +0000
commit5ea6be86d6e62ea1e0e0fd25ab1afe8f2bb3646f (patch)
treec3b9db905fff085712e17c5ef0f6633e0163ab9b /app-editors
parentnet-wireless/unifi: bump to 6.2.13 (diff)
downloadgentoo-5ea6be86d6e62ea1e0e0fd25ab1afe8f2bb3646f.tar.gz
gentoo-5ea6be86d6e62ea1e0e0fd25ab1afe8f2bb3646f.tar.bz2
gentoo-5ea6be86d6e62ea1e0e0fd25ab1afe8f2bb3646f.zip
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@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/lpe/lpe-1.2.8_p20210401.ebuild8
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