Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Pango/, dev-perl/Pango/files/
Date: Wed, 28 Oct 2015 20:53:10
Message-Id: 1446065468.b32e48228fdea1dc5b7b0ace2128f7d7178d19f4.monsieurp@gentoo
1 commit: b32e48228fdea1dc5b7b0ace2128f7d7178d19f4
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 28 20:49:20 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 28 20:51:08 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b32e4822
7
8 dev-perl/Pango: Add patch preventing failure at compile time. Fixes bug 562216.
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 dev-perl/Pango/Pango-1.224.0-r1.ebuild | 36 ++++++++++++++++++++++++
14 dev-perl/Pango/files/Pango-1.224.0-linking.patch | 10 +++++++
15 2 files changed, 46 insertions(+)
16
17 diff --git a/dev-perl/Pango/Pango-1.224.0-r1.ebuild b/dev-perl/Pango/Pango-1.224.0-r1.ebuild
18 new file mode 100644
19 index 0000000..60b8bba
20 --- /dev/null
21 +++ b/dev-perl/Pango/Pango-1.224.0-r1.ebuild
22 @@ -0,0 +1,36 @@
23 +# Copyright 1999-2015 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Id$
26 +
27 +EAPI=5
28 +
29 +MODULE_AUTHOR=XAOC
30 +MODULE_VERSION=1.224
31 +inherit perl-module
32 +
33 +DESCRIPTION="Layout and render international text"
34 +
35 +LICENSE="LGPL-2.1+"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
38 +IUSE=""
39 +
40 +RDEPEND="
41 + >=dev-perl/glib-perl-1.220.0
42 + >=dev-perl/Cairo-1.0.0
43 + >=x11-libs/pango-1.0.0
44 +"
45 +DEPEND="
46 + ${RDEPEND}
47 + >=dev-perl/ExtUtils-Depends-0.300.0
48 + >=dev-perl/extutils-pkgconfig-1.30.0
49 +"
50 +
51 +PATCHES=(
52 + "${FILESDIR}"/"${P}-linking.patch"
53 +)
54 +
55 +src_prepare() {
56 + perl-module_src_prepare
57 + sed -i -e "s:exit 0:exit 1:g" "${S}"/Makefile.PL || die "sed failed"
58 +}
59
60 diff --git a/dev-perl/Pango/files/Pango-1.224.0-linking.patch b/dev-perl/Pango/files/Pango-1.224.0-linking.patch
61 new file mode 100644
62 index 0000000..e93069b
63 --- /dev/null
64 +++ b/dev-perl/Pango/files/Pango-1.224.0-linking.patch
65 @@ -0,0 +1,10 @@
66 +--- Makefile.PL
67 ++++ Makefile.PL
68 +@@ -161,6 +161,7 @@
69 + if ($have_cairo) {
70 + push @deps, qw/Cairo/;
71 + $inc .= $pangocairo_pkgcfg{cflags};
72 ++ $libs .= ' ';
73 + $libs .= $pangocairo_pkgcfg{libs};
74 + }
75 +