dev-ruby/rb-gsl: fix compilation
authorHans de Graaff <graaff@gentoo.org>
Fri, 15 Dec 2017 06:53:46 +0000 (07:53 +0100)
committerHans de Graaff <graaff@gentoo.org>
Fri, 15 Dec 2017 07:04:08 +0000 (08:04 +0100)
Package-Manager: Portage-2.3.13, Repoman-2.3.3

dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild

index 9a971a876899735118f3e701bb7a11c329f1bc0a..9b2217b375726136a2d16227b1bd8660bed9792c 100644 (file)
@@ -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() {