Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-pda/libimobiledevice/
Date: Mon, 25 Jan 2016 02:21:18
Message-Id: 1453688467.c60e3d690e7a2254893cd21285d62135660c8405.floppym@gentoo
1 commit: c60e3d690e7a2254893cd21285d62135660c8405
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 25 02:20:15 2016 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 25 02:21:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60e3d69
7
8 app-pda/libimobiledevice: Override PYTHON_LDFLAGS in src_configure
9
10 Works around broken build system.
11
12 Bug: https://bugs.gentoo.org/567916
13
14 Package-Manager: portage-2.2.27_p49
15
16 app-pda/libimobiledevice/libimobiledevice-1.1.6-r1.ebuild | 9 +++++++--
17 app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild | 9 +++++++--
18 2 files changed, 14 insertions(+), 4 deletions(-)
19
20 diff --git a/app-pda/libimobiledevice/libimobiledevice-1.1.6-r1.ebuild b/app-pda/libimobiledevice/libimobiledevice-1.1.6-r1.ebuild
21 index 2ea6d8d..5fd0082 100644
22 --- a/app-pda/libimobiledevice/libimobiledevice-1.1.6-r1.ebuild
23 +++ b/app-pda/libimobiledevice/libimobiledevice-1.1.6-r1.ebuild
24 @@ -1,4 +1,4 @@
25 -# Copyright 1999-2015 Gentoo Foundation
26 +# Copyright 1999-2016 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 # $Id$
29
30 @@ -51,8 +51,13 @@ src_configure() {
31 popd >/dev/null || die
32 }
33
34 + do_configure_python() {
35 + # Bug 567916
36 + PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@"
37 + }
38 +
39 do_configure --without-cython
40 - use python && python_foreach_impl do_configure
41 + use python && python_foreach_impl do_configure_python
42 }
43
44 src_compile() {
45
46 diff --git a/app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild b/app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild
47 index 9a61169..0022327 100644
48 --- a/app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild
49 +++ b/app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild
50 @@ -1,4 +1,4 @@
51 -# Copyright 1999-2015 Gentoo Foundation
52 +# Copyright 1999-2016 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Id$
55
56 @@ -51,8 +51,13 @@ src_configure() {
57 popd >/dev/null || die
58 }
59
60 + do_configure_python() {
61 + # Bug 567916
62 + PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@"
63 + }
64 +
65 do_configure --without-cython
66 - use python && python_foreach_impl do_configure
67 + use python && python_foreach_impl do_configure_python
68 }
69
70 src_compile() {