Closes: https://bugs.gentoo.org/526256
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
AC_CHECK_LIB(util, forkpty)
-AC_CHECK_LIB(curses, main)
-+AC_SEARCH_LIBS([tgetent], [cursesw curses ncursesw ncurses], [break;])
++AC_SEARCH_LIBS([tgetent], [tinfow tinfo cursesw curses ncursesw ncurses], [break;])
dnl for freebsd
dnl AC_CHECK_LIB(c, i386_set_ioperm)
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-WANT_AUTOMAKE="1.9"
-inherit autotools eutils
+inherit autotools
MY_P="${P/6/5}"
)
src_prepare() {
- epatch "${DISTDIR}"/zhcon-0.2.5-to-0.2.6.diff.gz
+ eapply "${WORKDIR}"/zhcon-0.2.5-to-0.2.6.diff
default
for f in $(grep -lir HAVE_GGI_LIB *); do
sed -i -e "s/HAVE_GGI_LIB/HAVE_LIBGGI/" "${f}" || die "sed failed"
done
+ # Required for newer automake
+ touch config.rpath || die
eautoreconf
}