1 |
jer 10/05/29 16:28:52 |
2 |
|
3 |
Added: rrdtool-1.4.3-ruby-ldflags.patch |
4 |
Log: |
5 |
Fix space separation between LDFLAGS (bug #321749). |
6 |
(Portage version: 2.2_rc67/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-analyzer/rrdtool/files/rrdtool-1.4.3-ruby-ldflags.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/files/rrdtool-1.4.3-ruby-ldflags.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/files/rrdtool-1.4.3-ruby-ldflags.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: rrdtool-1.4.3-ruby-ldflags.patch |
15 |
=================================================================== |
16 |
--- a/bindings/ruby/extconf.rb |
17 |
+++ b/bindings/ruby/extconf.rb |
18 |
@@ -4,13 +4,13 @@ |
19 |
require 'mkmf' |
20 |
|
21 |
if /linux/ =~ RUBY_PLATFORM |
22 |
- $LDFLAGS += '-Wl,--rpath -Wl,$(EPREFIX)/lib' |
23 |
+ $LDFLAGS += ' -Wl,--rpath -Wl,$(EPREFIX)/lib' |
24 |
elsif /solaris/ =~ RUBY_PLATFORM |
25 |
- $LDFLAGS += '-R$(EPREFIX)/lib' |
26 |
+ $LDFLAGS += ' -R$(EPREFIX)/lib' |
27 |
elsif /hpux/ =~ RUBY_PLATFORM |
28 |
- $LDFLAGS += '+b$(EPREFIX)/lib' |
29 |
+ $LDFLAGS += ' +b$(EPREFIX)/lib' |
30 |
elsif /aix/ =~ RUBY_PLATFORM |
31 |
- $LDFLAGS += '-Wl,-blibpath:$(EPREFIX)/lib' |
32 |
+ $LDFLAGS += ' -Wl,-blibpath:$(EPREFIX)/lib' |
33 |
end |
34 |
|
35 |
dir_config("rrd","../../src","../../src/.libs") |