From 3deadf31a9681dd3d8b2bee5ba92bf60c386255b Mon Sep 17 00:00:00 2001 From: tnn Date: Fri, 23 Oct 2015 00:48:34 +0000 Subject: Provide -install_name for Darwin. --- databases/tdb/distinfo | 3 ++- .../tdb/patches/patch-buildtools_wafadmin_Tools_ccroot.py | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 databases/tdb/patches/patch-buildtools_wafadmin_Tools_ccroot.py diff --git a/databases/tdb/distinfo b/databases/tdb/distinfo index 5ac31acbbe4..a8dd982c683 100644 --- a/databases/tdb/distinfo +++ b/databases/tdb/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.8 2015/01/16 09:31:33 adam Exp $ +$NetBSD: distinfo,v 1.9 2015/10/23 00:48:34 tnn Exp $ SHA1 (tdb-1.3.4.tar.gz) = 585d188267e4ba698c86b86703cc8cd97f1a71ac RMD160 (tdb-1.3.4.tar.gz) = 47aabcdef10f9a22adb3a38d197548a6326cf6cc Size (tdb-1.3.4.tar.gz) = 483140 bytes +SHA1 (patch-buildtools_wafadmin_Tools_ccroot.py) = fb5cec0d1c25103cb927ec9e64926042fc95167f diff --git a/databases/tdb/patches/patch-buildtools_wafadmin_Tools_ccroot.py b/databases/tdb/patches/patch-buildtools_wafadmin_Tools_ccroot.py new file mode 100644 index 00000000000..fa5473571f9 --- /dev/null +++ b/databases/tdb/patches/patch-buildtools_wafadmin_Tools_ccroot.py @@ -0,0 +1,13 @@ +$NetBSD: patch-buildtools_wafadmin_Tools_ccroot.py,v 1.1 2015/10/23 00:48:34 tnn Exp $ + +--- buildtools/wafadmin/Tools/ccroot.py.orig 2014-09-16 18:04:31.000000000 +0000 ++++ buildtools/wafadmin/Tools/ccroot.py +@@ -583,6 +583,8 @@ def apply_vnum(self): + if libname.endswith('.dylib'): + name3 = libname.replace('.dylib', '.%s.dylib' % self.vnum) + name2 = libname.replace('.dylib', '.%s.dylib' % nums[0]) ++ self.env.append_value('LINKFLAGS', '-install_name') ++ self.env.append_value('LINKFLAGS', self.env.PREFIX + '/lib/' + name2) + else: + name3 = libname + '.' + self.vnum + name2 = libname + '.' + nums[0] -- cgit v1.2.3