Skip to content

Commit

Permalink
dev-scheme/guile: Also look for tgoto in libtinfo (bug #539316)
Browse files Browse the repository at this point in the history
This is the case when ncurses is built with USE=tinfo.

Gentoo-Bug: https://bugs.gentoo.org/539316
  • Loading branch information
dirtyepic committed Oct 12, 2015
1 parent 167178f commit 827c7b5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dev-scheme/guile/files/guile-1.8.8-tinfo.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
With ncurses[tinfo] tgoto will be in libtinfo

https://bugs.gentoo.org/539316

--- a/guile-readline/configure.in
+++ b/guile-readline/configure.in
@@ -33,7 +33,7 @@ if test "$MINGW32" = "yes" ; then
fi
AC_SUBST(EXTRA_DEFS)

-for termlib in ncurses curses termcap terminfo termlib ; do
+for termlib in ncurses curses termcap terminfo termlib tinfo ; do
AC_CHECK_LIB(${termlib}, tgoto,
[LIBS="-l${termlib} $LIBS"; break])
done
1 change: 1 addition & 0 deletions dev-scheme/guile/guile-1.8.8-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ src_prepare() {
"${FILESDIR}/${P}-gcc5.patch" \
"${FILESDIR}/${P}-makeinfo-5.patch" \
"${FILESDIR}/${P}-gtexinfo-5.patch" \
"${FILESDIR}/${P}-tinfo.patch" \
"${FILESDIR}/${P}-sandbox.patch"

sed \
Expand Down

0 comments on commit 827c7b5

Please sign in to comment.