Package-Manager: Portage-2.3.19, Repoman-2.3.6
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-inherit eutils autotools
+EAPI=6
+inherit autotools
DESCRIPTION="etPan is a console mail client that is based on libEtPan"
HOMEPAGE="http://www.etpan.org/other.html"
ldap? ( net-nds/openldap )"
DEPEND="${RDEPEND}
virtual/yacc"
+PATCHES=(
+ "${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-tinfo.patch
+)
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-as-needed.patch"
+src_prepare() {
+ default
eautoreconf
}
--- /dev/null
+--- a/configure.in
++++ b/configure.in
+@@ -125,6 +125,7 @@
+ AC_CHECK_HEADER(ncurses.h, [ncurses=yes])
+ test "x$ncurses" = "xyes" && AC_CHECK_LIB(ncurses, initscr, [LIBS="$LIBS -lncurses"; ncurses=yes], [ncurses=no])
+ test "x$ncurses" = "xno" && AC_MSG_ERROR([ncurses support required])
++AC_SEARCH_LIBS(curs_set, ncurses tinfo)
+
+ dnl Libetpan
+ libetpan=no