commit:     c6ef627cb6b787a92c3f109df23b7c90074a53b7
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  6 07:52:51 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jan  6 07:52:51 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c6ef627c

sci-chemistry/openbabel-python: Fix sanbox problems during installation

respect CXXFLAGS

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=570516

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

 sci-chemistry/openbabel-python/openbabel-python-9999.ebuild | 5 +++--
 1 file 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 03c35f6..b80dcf9 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)"

Reply via email to