Skip to content

Commit

Permalink
app-pda/libimobiledevice: Override PYTHON_LDFLAGS in src_configure
Browse files Browse the repository at this point in the history
Works around broken build system.

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

Package-Manager: portage-2.2.27_p49
  • Loading branch information
floppym committed Jan 25, 2016
1 parent 0f0051b commit c60e3d6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions app-pda/libimobiledevice/libimobiledevice-1.1.6-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand Down Expand Up @@ -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() {
Expand Down
9 changes: 7 additions & 2 deletions app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit c60e3d6

Please sign in to comment.