commit:     5df6f9e8c86682d961899c85676db7c4cb213d7d
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 06:53:46 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 07:04:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df6f9e8

dev-ruby/rb-gsl: fix compilation

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild 
b/dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild
index 9a971a87689..9b2217b3757 100644
--- a/dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild
+++ b/dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby21 ruby22 ruby23"
+USE_RUBY="ruby22 ruby23"
 
 RUBY_FAKEGEM_NAME="gsl"
 inherit ruby-fakegem multilib
@@ -36,6 +36,7 @@ all_ruby_prepare() {
 
 each_ruby_configure() {
        NARRAY=1 ${RUBY} -Cext/gsl_native extconf.rb || die
+       sed -i -e 's:-Wl,--no-undefined::' ext/gsl_native/Makefile || die
 }
 
 each_ruby_compile() {

Reply via email to