aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2014-09-16 10:40:55 -0600
committerChristoph Junghans <ottxor@gentoo.org>2014-09-16 10:40:55 -0600
commit2fdaf79405cdad4096c9f20a186445694799beef (patch)
treebbef56cca8787efaaf66f736724d12787a3811ec /sci-chemistry
parentquote vars (diff)
downloadsci-2fdaf79405cdad4096c9f20a186445694799beef.tar.gz
sci-2fdaf79405cdad4096c9f20a186445694799beef.tar.bz2
sci-2fdaf79405cdad4096c9f20a186445694799beef.zip
quote vars
Package-Manager: portage-2.2.8-r1
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/openbabel-ruby/ChangeLog5
-rw-r--r--sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild15
2 files changed, 12 insertions, 8 deletions
diff --git a/sci-chemistry/openbabel-ruby/ChangeLog b/sci-chemistry/openbabel-ruby/ChangeLog
index ab68512a6..9b3088588 100644
--- a/sci-chemistry/openbabel-ruby/ChangeLog
+++ b/sci-chemistry/openbabel-ruby/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 16 Sep 2014; Christoph Junghans <ottxor@gentoo.org>
+ openbabel-ruby-9999.ebuild:
+ quote vars
+
14 Feb 2014; Reinis Danne <rei4dan@gmail.com> openbabel-ruby-9999.ebuild:
Update list of available Ruby targets.
@@ -16,4 +20,3 @@
26 Sep 2013; Reinis Danne <rei4dan@gmail.com> +openbabel-ruby-9999.ebuild,
+metadata.xml:
Add live ebuild.
-
diff --git a/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild b/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild
index 6b82efe65..4437d2493 100644
--- a/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild
+++ b/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-USE_RUBY="ruby18 ruby19 ruby20 ruby21"
+USE_RUBY="ruby19 ruby20 ruby21"
inherit cmake-utils eutils ruby-ng git-r3
@@ -48,16 +48,17 @@ all_ruby_prepare() {
each_ruby_configure() {
CMAKE_USE_DIR="${WORKDIR}/${environment}"
- local mycmakeargs="${mycmakeargs}
+ local mycmakeargs=(
-DCMAKE_INSTALL_RPATH=
-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}/$(ruby_rbconfig_value sitearchdir)
+ -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)
-DRUBY_BINDINGS=ON
- -DRUBY_EXECUTABLE=${RUBY}
+ -DRUBY_EXECUTABLE="${RUBY}"
-DRUBY_INCLUDE_DIR=$(ruby_get_hdrdir) -I$(ruby_get_hdrdir)/$(ruby_rbconfig_value sitearch)
- -DRUBY_LIBRARY=$(ruby_get_libruby)"
+ -DRUBY_LIBRARY=$(ruby_get_libruby)
+ )
cmake-utils_src_configure
}