pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/tdb/patches tdb: add missing patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41429734a3c9
branches:  trunk
changeset: 323677:41429734a3c9
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 15 07:51:19 2019 +0000

description:
tdb: add missing patch

diffstat:

 databases/tdb/patches/patch-buildtools_wafsamba_samba__install.py |  15 ++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r c27966162007 -r 41429734a3c9 databases/tdb/patches/patch-buildtools_wafsamba_samba__install.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tdb/patches/patch-buildtools_wafsamba_samba__install.py Wed May 15 07:51:19 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-buildtools_wafsamba_samba__install.py,v 1.1 2019/05/15 07:51:19 adam Exp $
+
+Apply correct install_name on Darwin.
+
+--- buildtools/wafsamba/samba_install.py.orig  2019-01-14 22:24:44.000000000 +0000
++++ buildtools/wafsamba/samba_install.py
+@@ -151,6 +151,8 @@ def install_library(self):
+             bld.symlink_as(os.path.join(install_path, install_link), os.path.basename(install_name))
+         if dev_link:
+             bld.symlink_as(os.path.join(install_path, dev_link), os.path.basename(install_name))
++        if getattr(self, 'samba_type', None) != 'PYTHON' and self.env.MACOSX_DEPLOYMENT_TARGET:
++            self.env.append_value('LINKFLAGS', ['-install_name', os.path.join(install_path, install_name)])
+     finally:
+         bld.all_envs['default'] = default_env
+ 



Home | Main Index | Thread Index | Old Index