aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-chemistry/openbabel-ruby/metadata.xml2
-rw-r--r--sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild6
2 files changed, 4 insertions, 4 deletions
diff --git a/sci-chemistry/openbabel-ruby/metadata.xml b/sci-chemistry/openbabel-ruby/metadata.xml
index 2e486b247..a7c2f07a1 100644
--- a/sci-chemistry/openbabel-ruby/metadata.xml
+++ b/sci-chemistry/openbabel-ruby/metadata.xml
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci-chemistry</herd>
diff --git a/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild b/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild
index 54a7fdeaa..ee7327f0b 100644
--- a/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild
+++ b/sci-chemistry/openbabel-ruby/openbabel-ruby-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$
@@ -51,6 +51,7 @@ each_ruby_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_RPATH=
-DBINDINGS_ONLY=ON
+ -DOPTIMIZE_NATIVE=OFF
-DBABEL_SYSTEM_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libopenbabel.so
-DOB_MODULE_PATH="${EPREFIX}"/usr/$(get_libdir)/openbabel/"${PV}"
-DLIB_INSTALL_DIR="${ED}"/$(ruby_rbconfig_value sitearchdir)
@@ -69,8 +70,7 @@ each_ruby_compile() {
}
each_ruby_test() {
- for i in scripts/ruby/examples/*
- do
+ for i in scripts/ruby/examples/*; do
einfo "Running test: ${WORKDIR}/${environment}/${i}"
${RUBY} -I"${WORKDIR}/${environment}/$(get_libdir)" "${i}" || die
done