commit:     c1dacea196b620f52ea8d644cd3ae075b1863c97
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 23:26:31 2017 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 23:26:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1dacea1

net-libs/rb_libtorrent: link the python bindings against the right libpython 
version

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild 
b/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild
index c3a54a8c6d7..5a8412d4f63 100644
--- a/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild
+++ b/net-libs/rb_libtorrent/rb_libtorrent-1.1.2.ebuild
@@ -71,12 +71,10 @@ src_configure() {
        econf "${myeconfargs[@]}"
 
        if use python; then
-               myeconfargs+=(
-                       --enable-python-binding
-                       --with-boost-python
-               )
                python_configure() {
-                       econf "${myeconfargs[@]}"
+                       econf "${myeconfargs[@]}" \
+                               --enable-python-binding \
+                               --with-boost-python="${EPYTHON#python}"
                }
                distutils-r1_src_configure
        fi

Reply via email to