diff options
-rw-r--r-- | sci-chemistry/openbabel-python/openbabel-python-9999.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild index 03c35f66e..b80dcf986 100644 --- a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild +++ b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild @@ -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$ @@ -47,12 +47,13 @@ src_configure() { my_impl_src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_RPATH= + -DOPTIMIZE_NATIVE=OFF -DBINDINGS_ONLY=ON -DBABEL_SYSTEM_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libopenbabel.so" -DOB_MODULE_PATH="${EPREFIX}/usr/$(get_libdir)/openbabel/${PV}" - -DLIB_INSTALL_DIR="${D}$(python_get_sitedir)" -DPYTHON_BINDINGS=ON -DPYTHON_EXECUTABLE=${PYTHON} + -DCMAKE_INSTALL_PREFIX="${D}/usr" -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" -DPYTHON_INCLUDE_PATH="$(python_get_includedir)" -DPYTHON_LIBRARY="$(python_get_library_path)" |