Fix rpath problem

This commit is contained in:
adam 2016-03-01 17:13:59 +00:00
parent 8bbde8dd25
commit f0920d7de5
2 changed files with 16 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.4 2016/02/01 09:41:59 adam Exp $
$NetBSD: distinfo,v 1.5 2016/03/01 17:13:59 adam Exp $
SHA1 (rrdtool-1.5.5.tar.gz) = 8275cd4dd3fb2086686ee5acfc7cc5e756483e0e
RMD160 (rrdtool-1.5.5.tar.gz) = 17970e90c72450d5589665f0165733469392cb82
SHA512 (rrdtool-1.5.5.tar.gz) = 07fb0edb5fbc0b491f8a40844d4a914f26c6269b2d07ab91f4d54fdcfeb7899348362044ac632223341f30fc10e6748a59863977496801530f5cdd2d61f0e88c
Size (rrdtool-1.5.5.tar.gz) = 2187685 bytes
SHA1 (patch-extconf.rb) = 18cce3cb95afd81ea30c03bad4e2a1717c7ab982

View file

@ -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")