app-pda/libimobiledevice: Override PYTHON_LDFLAGS in src_configure
authorMike Gilbert <floppym@gentoo.org>
Mon, 25 Jan 2016 02:20:15 +0000 (21:20 -0500)
committerMike Gilbert <floppym@gentoo.org>
Mon, 25 Jan 2016 02:21:07 +0000 (21:21 -0500)
Works around broken build system.

Bug: https://bugs.gentoo.org/567916

Package-Manager: portage-2.2.27_p49

app-pda/libimobiledevice/libimobiledevice-1.1.6-r1.ebuild
app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild

index 2ea6d8d5f947f2893c76d41f627d79a855a695ff..5fd0082838e8f80dbcc82ccba483c8915b806334 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -51,8 +51,13 @@ src_configure() {
                popd >/dev/null || die
        }
 
+       do_configure_python() {
+               # Bug 567916
+               PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@"
+       }
+
        do_configure --without-cython
-       use python && python_foreach_impl do_configure
+       use python && python_foreach_impl do_configure_python
 }
 
 src_compile() {
index 9a6116918c94d8040b6eed3aafaed8953bff400a..00223271c714505a22bd6a7d654103bb6cb3a626 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -51,8 +51,13 @@ src_configure() {
                popd >/dev/null || die
        }
 
+       do_configure_python() {
+               # Bug 567916
+               PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@"
+       }
+
        do_configure --without-cython
-       use python && python_foreach_impl do_configure
+       use python && python_foreach_impl do_configure_python
 }
 
 src_compile() {