1 |
commit: 7a0a8d6e5c3b03291d696124367821116ccbe5d4 |
2 |
Author: Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 27 17:43:52 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 27 17:44:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0a8d6e |
7 |
|
8 |
app-text/pdftk: Make this build with gcc-5 for now |
9 |
|
10 |
Hardwire pdftk to use gcc-5.4.0, and depend on it |
11 |
|
12 |
Bug: https://bugs.gentoo.org/562568 |
13 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
14 |
|
15 |
app-text/pdftk/pdftk-2.02.ebuild | 11 ++++++++--- |
16 |
1 file changed, 8 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/app-text/pdftk/pdftk-2.02.ebuild b/app-text/pdftk/pdftk-2.02.ebuild |
19 |
index 0aa09e4f2ac..d026f23fdf6 100644 |
20 |
--- a/app-text/pdftk/pdftk-2.02.ebuild |
21 |
+++ b/app-text/pdftk/pdftk-2.02.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2015 Gentoo Foundation |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI="5" |
28 |
@@ -13,8 +13,10 @@ LICENSE="GPL-2" |
29 |
SLOT="0" |
30 |
KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux" |
31 |
|
32 |
-DEPEND="sys-devel/gcc[gcj]" |
33 |
-RDEPEND="${DEPEND}" |
34 |
+RDEPEND="sys-devel/gcc:5.4.0[gcj]" |
35 |
+DEPEND="${RDEPEND} |
36 |
+ sys-devel/gcc-config |
37 |
+" |
38 |
|
39 |
S="${WORKDIR}/${P}-dist/${PN}" |
40 |
|
41 |
@@ -27,6 +29,9 @@ src_compile() { |
42 |
unset CLASSPATH |
43 |
unset JAVA_HOME |
44 |
|
45 |
+ # We need gcc-5 because of Java |
46 |
+ export PATH="$(gcc-config -B 5.4.0):${PATH}" |
47 |
+ |
48 |
# Parallel make fails; confirmed, still not fixed in version 2.02. |
49 |
emake -j1 -f "${S}"/Makefile.Debian || die "Compilation failed." |
50 |
} |