dev-tex/catdvi: fix build with kpathsea from texlive 2015. Bug #570958.

Package-Manager: portage-2.2.26
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
Alexis Ballier
2016-01-05 14:55:53 +01:00
parent ffdd0b13b5
commit baf7989ad4

View File

@@ -4,7 +4,7 @@
EAPI=4
inherit eutils autotools toolchain-funcs
inherit eutils autotools toolchain-funcs flag-o-matic
DESCRIPTION="DVI to plain text translator"
HOMEPAGE="http://catdvi.sourceforge.net"
@@ -15,12 +15,15 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="virtual/tex-base"
RDEPEND="${DEPEND}"
RDEPEND="virtual/tex-base
dev-libs/kpathsea"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
epatch "${FILESDIR}/${P}-kpathsea.patch"
eautoconf
has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
}
src_compile() {