summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/catdvi')
-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() {