summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-zoom/files/0.2.0-ldflags.patch')
-rw-r--r--dev-ruby/ruby-zoom/files/0.2.0-ldflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-ruby/ruby-zoom/files/0.2.0-ldflags.patch b/dev-ruby/ruby-zoom/files/0.2.0-ldflags.patch
new file mode 100644
index 000000000000..56c90419c0ee
--- /dev/null
+++ b/dev-ruby/ruby-zoom/files/0.2.0-ldflags.patch
@@ -0,0 +1,11 @@
+diff -ur ruby-zoom-0.2.0/extconf.rb ruby-zoom-0.2.0.new/extconf.rb
+--- ruby-zoom-0.2.0/extconf.rb 2005-08-17 04:00:27.000000000 +0700
++++ ruby-zoom-0.2.0.new/extconf.rb 2006-10-02 20:29:15.000000000 +0700
+@@ -9,6 +9,6 @@
+ err "Yaz ZOOM header not available" unless have_header("yaz/zoom.h")
+
+ $CFLAGS << " #{`yaz-config --cflags`} "
+-$LDFLAGS << " #{`yaz-config --libs`} "
++$libs += " #{`yaz-config --libs`.chomp} "
+
+ create_makefile("zoom", "src")