From: | "Maxim Koltsov (maksbotan)" <maksbotan@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/hivex/files/1.3.5: 0004-ruby_runpath_fix-1.3.5.patch |
Date: | Wed, 02 May 2012 12:24:45 |
Message-Id: | 20120502122425.9271F2004C@flycatcher.gentoo.org |
1 | maksbotan 12/05/02 12:24:25 |
2 | |
3 | Added: 0004-ruby_runpath_fix-1.3.5.patch |
4 | Log: |
5 | Fix runpath and ldflags in ruby bindings, bug 412099 |
6 | |
7 | (Portage version: 2.1.10.57/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-misc/hivex/files/1.3.5/0004-ruby_runpath_fix-1.3.5.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/hivex/files/1.3.5/0004-ruby_runpath_fix-1.3.5.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/hivex/files/1.3.5/0004-ruby_runpath_fix-1.3.5.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: 0004-ruby_runpath_fix-1.3.5.patch |
16 | =================================================================== |
17 | --- ruby/Rakefile.in 2012-03-13 19:46:43.000000000 +0400 |
18 | +++ ruby/Rakefile.in 2012-04-15 19:02:42.337118192 +0400 |
19 | @@ -38,7 +38,7 @@ |
20 | # Build locally |
21 | |
22 | file MAKEFILE => EXT_CONF do |t| |
23 | - unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd @builddir@/ext/hivex; @RUBY@ #{EXT_CONF} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs" |
24 | + unless sh "top_srcdir=@top_srcdir@; top_builddir=@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd @builddir@/ext/hivex; @RUBY@ #{EXT_CONF} --with-_hivex-include=../../$top_srcdir/lib --with-_hivex-lib=../../$top_builddir/lib/.libs --with-ldflags=\"$LDFLAGS\"" |
25 | $stderr.puts "Failed to run extconf" |
26 | break |
27 | end |