From 407525b571b48cfd65e1ad7a02d250a927c967c9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Dec 2017 03:04:39 +0000 Subject: gentoo resync : 01.12.2017 --- app-text/pdftk/pdftk-2.02.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'app-text/pdftk/pdftk-2.02.ebuild') diff --git a/app-text/pdftk/pdftk-2.02.ebuild b/app-text/pdftk/pdftk-2.02.ebuild index 0aa09e4f2ac2..d026f23fdf69 100644 --- a/app-text/pdftk/pdftk-2.02.ebuild +++ b/app-text/pdftk/pdftk-2.02.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -13,8 +13,10 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux" -DEPEND="sys-devel/gcc[gcj]" -RDEPEND="${DEPEND}" +RDEPEND="sys-devel/gcc:5.4.0[gcj]" +DEPEND="${RDEPEND} + sys-devel/gcc-config +" S="${WORKDIR}/${P}-dist/${PN}" @@ -27,6 +29,9 @@ src_compile() { unset CLASSPATH unset JAVA_HOME + # We need gcc-5 because of Java + export PATH="$(gcc-config -B 5.4.0):${PATH}" + # Parallel make fails; confirmed, still not fixed in version 2.02. emake -j1 -f "${S}"/Makefile.Debian || die "Compilation failed." } -- cgit v1.2.3