1 |
maksbotan 12/05/02 12:24:25 |
2 |
|
3 |
Added: ruby_runpath_fix-1.3.2.patch |
4 |
Removed: autoconf_fix-1.3.1.patch |
5 |
Log: |
6 |
Fix runpath and ldflags in ruby bindings, bug 412099 |
7 |
|
8 |
(Portage version: 2.1.10.57/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 app-misc/hivex/files/ruby_runpath_fix-1.3.2.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/hivex/files/ruby_runpath_fix-1.3.2.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/hivex/files/ruby_runpath_fix-1.3.2.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: ruby_runpath_fix-1.3.2.patch |
17 |
=================================================================== |
18 |
--- ruby/Rakefile.in.orig 2012-04-16 20:16:14.989449899 +0200 |
19 |
+++ ruby/Rakefile.in 2012-04-16 20:17:08.006443779 +0200 |
20 |
@@ -38,7 +38,7 @@ |
21 |
# Build locally |
22 |
|
23 |
file MAKEFILE => EXT_CONF do |t| |
24 |
- unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; cd #{File::dirname(EXT_CONF)}; ruby #{File::basename(EXT_CONF)} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs" |
25 |
+ unless sh "top_srcdir=@top_srcdir@; top_builddir=@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd #{File::dirname(EXT_CONF)}; ruby #{File::basename(EXT_CONF)} --with-_hivex-include=../../$top_srcdir/lib --with-_hivex-lib=../../$top_builddir/lib/.libs --with-ldflags=\"$LDFLAGS\"" |
26 |
$stderr.puts "Failed to run extconf" |
27 |
break |
28 |
end |