Skip to content

Commit

Permalink
dev-tex/catdvi: fix build with kpathsea from texlive 2015. Bug #570958.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Jan 5, 2016
1 parent ffdd0b1 commit baf7989
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dev-tex/catdvi/catdvi-0.14-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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() {
Expand Down

0 comments on commit baf7989

Please sign in to comment.