app-shells/hstr: Fix building against sys-libs/ncurses[tinfo] (bug #634428).

Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
Jeroen Roovers
2017-10-16 13:48:36 +02:00
parent aff4a2ede3
commit 67ad15bb7a
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,11 @@
--- a/configure.ac
+++ b/configure.ac
@@ -76,7 +76,7 @@
AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])])
AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline library])])
# ncurses might be linked in libtinfo
-#AC_CHECK_LIB(tinfo, keypad, [], [AC_MSG_ERROR([Could not find tinfo library])])
+AC_CHECK_LIB(tinfo, keypad, [], [AC_MSG_ERROR([Could not find tinfo library])])
# Checks for header files.
AC_CHECK_HEADER(assert.h)
+3
View File
@@ -20,6 +20,9 @@ DEPEND="
virtual/pkgconfig"
DOCS=( CONFIGURATION.md README.md )
PATCHES=(
"${FILESDIR}"/${PN}-1.23-tinfo.patch
)
src_prepare() {
default