diff options
author | tnn <tnn@pkgsrc.org> | 2015-10-23 00:48:34 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-10-23 00:48:34 +0000 |
commit | 3deadf31a9681dd3d8b2bee5ba92bf60c386255b (patch) | |
tree | be006950d59b4e4d1615301fdbc4d16d6b3c5b5e | |
parent | 94150ba0909a49453967fe1fce7a1558f1804882 (diff) | |
download | pkgsrc-3deadf31a9681dd3d8b2bee5ba92bf60c386255b.tar.gz |
Provide -install_name for Darwin.
-rw-r--r-- | databases/tdb/distinfo | 3 | ||||
-rw-r--r-- | databases/tdb/patches/patch-buildtools_wafadmin_Tools_ccroot.py | 13 |
2 files changed, 15 insertions, 1 deletions
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] |