summaryrefslogtreecommitdiff
path: root/databases/ruby-rrdtool/patches
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2016-03-01 17:13:59 +0000
committeradam <adam@pkgsrc.org>2016-03-01 17:13:59 +0000
commit207269d0d6c3703dcc5a529b4c8f7f031f642600 (patch)
tree313bf1cef323958406ef4afd71451d960a82ee47 /databases/ruby-rrdtool/patches
parent7c3e2e1e979cb3b34ee99a7c2bac3c6ac9aedb5d (diff)
downloadpkgsrc-207269d0d6c3703dcc5a529b4c8f7f031f642600.tar.gz
Fix rpath problem
Diffstat (limited to 'databases/ruby-rrdtool/patches')
-rw-r--r--databases/ruby-rrdtool/patches/patch-extconf.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/ruby-rrdtool/patches/patch-extconf.rb b/databases/ruby-rrdtool/patches/patch-extconf.rb
new file mode 100644
index 00000000000..77ab76291a5
--- /dev/null
+++ b/databases/ruby-rrdtool/patches/patch-extconf.rb
@@ -0,0 +1,14 @@
+$NetBSD: patch-extconf.rb,v 1.1 2016/03/01 17:13:59 adam Exp $
+
+Use correct rpath.
+
+--- extconf.rb.orig 2016-03-01 17:03:18.648406906 +0000
++++ extconf.rb
+@@ -13,6 +13,6 @@ elsif /aix/ =~ RUBY_PLATFORM
+ $LDFLAGS += ' -blibpath:$(EPREFIX)/lib'
+ end
+
+-dir_config("rrd",['$(ABS_TOP_BUILDDIR)/src', '$(ABS_TOP_SRCDIR)/src'],'$(ABS_TOP_BUILDDIR)/src/.libs')
++dir_config("rrd",['$(ABS_TOP_BUILDDIR)/src', '$(ABS_TOP_SRCDIR)/src'],'$(EPREFIX)/lib')
+ have_library("rrd", "rrd_create")
+ create_makefile("RRD")