summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-01-05 14:55:53 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-01-05 14:56:05 +0100
commitbaf7989ad47ce50f02f36fa3563268e2d52fa76d (patch)
tree7c0ae0d936009dff2138a421b83367c06e62cbf5 /dev-tex
parentapp-admin/puppetdb: amd64 stable wrt bug #570826 (diff)
downloadgentoo-baf7989ad47ce50f02f36fa3563268e2d52fa76d.tar.gz
gentoo-baf7989ad47ce50f02f36fa3563268e2d52fa76d.tar.bz2
gentoo-baf7989ad47ce50f02f36fa3563268e2d52fa76d.zip
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>
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/catdvi/catdvi-0.14-r1.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-tex/catdvi/catdvi-0.14-r1.ebuild b/dev-tex/catdvi/catdvi-0.14-r1.ebuild
index 860bed71bc43..2af02004bb0a 100644
--- a/dev-tex/catdvi/catdvi-0.14-r1.ebuild
+++ b/dev-tex/catdvi/catdvi-0.14-r1.ebuild
@@ -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() {