commit:     5d502a9acdaaa6410a786a6d5f7b3138aa0da80c
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  5 12:04:34 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Oct  5 12:04:47 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d502a9a

sci-chemistry/openbabel-python: avoid installing python modules to /lib/

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../{openbabel-python-2.4.1.ebuild => openbabel-python-2.4.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.4.1.ebuild 
b/sci-chemistry/openbabel-python/openbabel-python-2.4.1-r1.ebuild
similarity index 98%
rename from sci-chemistry/openbabel-python/openbabel-python-2.4.1.ebuild
rename to sci-chemistry/openbabel-python/openbabel-python-2.4.1-r1.ebuild
index d7a9eb9e2cb..84f9aa89e74 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-2.4.1.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-2.4.1-r1.ebuild
@@ -61,7 +61,7 @@ src_configure() {
                        -DPYTHON_INCLUDE_PATH="$(python_get_includedir)"
                        -DPYTHON_LIBRARY="$(python_get_library_path)"
                        -DENABLE_TESTS=ON
-                       -DCMAKE_INSTALL_PREFIX="${ED}"
+                       -DCMAKE_INSTALL_PREFIX="${ED%/}/usr"
                )
 
                cmake-utils_src_configure

Reply via email to