fix build AND packaging of the ruby bindings

This commit is contained in:
espie 2010-07-03 01:55:24 +00:00
parent fc186bede8
commit 4ebdd5a50c
2 changed files with 7 additions and 8 deletions

View File

@ -1,12 +1,11 @@
$OpenBSD: patch-bindings_ruby_extconf_rb,v 1.1 2010/07/01 15:49:24 landry Exp $
$OpenBSD: patch-bindings_ruby_extconf_rb,v 1.2 2010/07/03 01:55:24 espie Exp $
doesnt find the lib it just created for whatever reason...
--- bindings/ruby/extconf.rb.orig Mon Jun 21 14:39:16 2010
+++ bindings/ruby/extconf.rb Mon Jun 21 14:39:31 2010
@@ -13,6 +13,5 @@ elsif /aix/ =~ RUBY_PLATFORM
$LDFLAGS += '-Wl,-blibpath:$(EPREFIX)/lib'
--- bindings/ruby/extconf.rb.orig Mon Jan 19 15:29:14 2009
+++ bindings/ruby/extconf.rb Sat Jul 3 03:44:44 2010
@@ -14,5 +14,5 @@ elsif /aix/ =~ RUBY_PLATFORM
end
-dir_config("rrd","../../src","../../src/.libs")
dir_config("rrd","../../src","../../src/.libs")
-have_library("rrd", "rrd_create")
+$LDFLAGS+= ' -lrrd'
create_makefile("RRD")

View File

@ -1,6 +1,6 @@
@comment $OpenBSD: PLIST-ruby,v 1.1 2010/07/01 15:49:24 landry Exp $
@comment $OpenBSD: PLIST-ruby,v 1.2 2010/07/03 01:55:24 espie Exp $
lib/ruby/
lib/ruby/site_ruby/
lib/ruby/site_ruby/${MODRUBY_REV}/
lib/ruby/site_ruby/${MODRUBY_REV}/${MODRUBY_ARCH}
lib/ruby/site_ruby/${MODRUBY_REV}/${MODRUBY_ARCH}/
lib/ruby/site_ruby/${MODRUBY_REV}/${MODRUBY_ARCH}/RRD.so