mail-client/etpan-ng: Fix some EAPI problems.

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
Jeroen Roovers
2018-02-08 18:05:04 +01:00
parent e62ba1a248
commit c72ca9f251

View File

@@ -21,22 +21,17 @@ PATCHES=(
"${FILESDIR}"/${P}-as-needed.patch
"${FILESDIR}"/${P}-tinfo.patch
)
DOCS=(
Changelog NEWS README TODO contrib/etpan-make-vtree.pl doc/CONFIG
doc/INTERNAL
)
src_prepare() {
default
sed -i -e "s:@bindir@:${D}/@bindir@:" src/Makefile.in || die
eautoreconf
}
src_compile() {
sed -i -e "s:@bindir@:${D}/@bindir@:" src/Makefile.in
econf \
`use_enable debug` \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die
dodoc Changelog NEWS README TODO contrib/etpan-make-vtree.pl doc/*
src_configure() {
econf --disable-debug
}