pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/tdb/patches



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed May 15 07:51:19 UTC 2019

Added Files:
        pkgsrc/databases/tdb/patches:
            patch-buildtools_wafsamba_samba__install.py

Log Message:
tdb: add missing patch


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/tdb/patches/patch-buildtools_wafsamba_samba__install.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/databases/tdb/patches/patch-buildtools_wafsamba_samba__install.py
diff -u /dev/null pkgsrc/databases/tdb/patches/patch-buildtools_wafsamba_samba__install.py:1.1
--- /dev/null   Wed May 15 07:51:19 2019
+++ pkgsrc/databases/tdb/patches/patch-buildtools_wafsamba_samba__install.py    Wed May 15 07:51:19 2019
@@ -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