commit:     877582dae6848c1ba8a82b7437ba8a604b56ed18
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 11 14:10:12 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 15:09:16 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=877582da

sci-chemistry/openbabel-python: Adopt to ABIFLAGS change in python

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild 
b/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
index 114ace5..94b84d5 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
@@ -57,12 +57,12 @@ src_configure() {
                        -DBINDINGS_ONLY=ON
                        
-DBABEL_SYSTEM_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libopenbabel.so"
                        
-DOB_MODULE_PATH="${EPREFIX}/usr/$(get_libdir)/openbabel/${PV}"
-                       
-DLIB_INSTALL_DIR="${ED}/usr/$(get_libdir)/${EPYTHON}/site-packages"
+                       -DLIB_INSTALL_DIR="${D}$(python_get_sitedir)"
                        -DPYTHON_BINDINGS=ON
                        -DPYTHON_EXECUTABLE=${PYTHON}
-                       -DPYTHON_INCLUDE_DIR="${EPREFIX}/usr/include/${EPYTHON}"
-                       
-DPYTHON_INCLUDE_PATH="${EPREFIX}/usr/include/${EPYTHON}"
-                       
-DPYTHON_LIBRARY="${EPREFIX}/usr/$(get_libdir)/lib${EPYTHON}.so"
+                       -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
+                       -DPYTHON_INCLUDE_PATH="$(python_get_includedir)"
+                       -DPYTHON_LIBRARY="$(python_get_library_path)"
                        -DENABLE_TESTS=ON
                )
 

Reply via email to