public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rb-gsl/
Date: Tue, 16 Feb 2016 19:36:39 +0000 (UTC)	[thread overview]
Message-ID: <1455651389.b9b667f764a62cfcab25cc972ebe05dbf9473c2c.graaff@gentoo> (raw)

commit:     b9b667f764a62cfcab25cc972ebe05dbf9473c2c
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 16 19:18:20 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Feb 16 19:36:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9b667f7

dev-ruby/rb-gsl: fix broken narray patch

Rework narray sed script to work with the current version of
the extconf.rb script.

Package-Manager: portage-2.2.26

 dev-ruby/rb-gsl/rb-gsl-1.16.0.6.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-ruby/rb-gsl/rb-gsl-1.16.0.6.ebuild b/dev-ruby/rb-gsl/rb-gsl-1.16.0.6.ebuild
index 1ea1568..42f79f9 100644
--- a/dev-ruby/rb-gsl/rb-gsl-1.16.0.6.ebuild
+++ b/dev-ruby/rb-gsl/rb-gsl-1.16.0.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_NAME="gsl"
 inherit ruby-fakegem multilib
@@ -28,8 +28,8 @@ RUBY_S="${PN}-${P}"
 ruby_add_bdepend "dev-ruby/narray"
 ruby_add_rdepend "dev-ruby/narray"
 
-each_ruby_prepare() {
-	sed -i -e '/$CPPFLAGS =/a \$LDFLAGS = " -L#{narray_config} -l:narray.so "+$LDFLAGS' -e 's/src/lib/' ext/gsl_native/extconf.rb || die
+all_ruby_prepare() {
+	sed -i -e '/LOCAL_LIBS/ s: -l: -L#{path.gsub("src", "lib")} -l:' ext/gsl_native/extconf.rb || die
 }
 
 each_ruby_configure() {


             reply	other threads:[~2016-02-16 19:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 19:36 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-16 19:36 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rb-gsl/ Hans de Graaff
2016-02-16 19:36 Hans de Graaff
2016-02-16 19:36 Hans de Graaff
2017-12-15  7:04 Hans de Graaff
2017-12-15  7:04 Hans de Graaff
2018-02-08 18:30 Hans de Graaff
2018-02-08 18:30 Hans de Graaff
2019-01-27 19:13 Hans de Graaff
2020-05-09  9:20 Hans de Graaff
2020-07-27  2:09 Sam James
2021-10-30  5:16 Hans de Graaff
2021-10-31 11:35 Hans de Graaff
2023-03-25  7:12 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455651389.b9b667f764a62cfcab25cc972ebe05dbf9473c2c.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox