diff options
| author | Timur I. Bakeyev <timur@FreeBSD.org> | 2019-06-19 22:44:25 +0000 | 
|---|---|---|
| committer | Timur I. Bakeyev <timur@FreeBSD.org> | 2019-06-19 22:44:25 +0000 | 
| commit | 29295bfeff58bd68d5b82a8066e0bd5a414c56ca (patch) | |
| tree | 3d5b39d4f9e3f1553f8b24d82f2326e712e59d10 /databases/tdb/files/patch-buildtools__wafsamba__samba_autoconf.py | |
| parent | Update to 9.14.3. (diff) | |
Upgrade Samba supplimentary ports to the new build system. Effectively they are dependent now from Python 3.4+ for the build, unless NO_PYTHON is specified,
in which case ports still can be build with Python 2.7.
That should address legacy Python dependencies for some non-Samba ports as well.
Diffstat (limited to 'databases/tdb/files/patch-buildtools__wafsamba__samba_autoconf.py')
| -rw-r--r-- | databases/tdb/files/patch-buildtools__wafsamba__samba_autoconf.py | 52 | 
1 files changed, 0 insertions, 52 deletions
| diff --git a/databases/tdb/files/patch-buildtools__wafsamba__samba_autoconf.py b/databases/tdb/files/patch-buildtools__wafsamba__samba_autoconf.py deleted file mode 100644 index c92d308462be..000000000000 --- a/databases/tdb/files/patch-buildtools__wafsamba__samba_autoconf.py +++ /dev/null @@ -1,52 +0,0 @@ ---- buildtools/wafsamba/samba_autoconf.py.orig	2016-10-07 04:45:35 UTC -+++ buildtools/wafsamba/samba_autoconf.py -@@ -548,7 +548,7 @@ def library_flags(self, libs): -  -  - @conf --def CHECK_LIB(conf, libs, mandatory=False, empty_decl=True, set_target=True, shlib=False): -+def CHECK_LIB(conf, libs, mandatory=False, empty_decl=True, set_target=True, shlib=False, msg=None): -     '''check if a set of libraries exist as system libraries -  -     returns the sublist of libs that do exist as a syslib or [] -@@ -568,11 +568,29 @@ int foo() -             ret.append(lib) -             continue -  -+        if msg is None: -+            msg = 'Checking for library %s' % lib -+ -         (ccflags, ldflags, cpppath) = library_flags(conf, lib) -+ -         if shlib: --            res = conf.check(features='c cshlib', fragment=fragment, lib=lib, uselib_store=lib, ccflags=ccflags, ldflags=ldflags, uselib=lib.upper(), mandatory=False) -+            res = conf.check(features='c cshlib', -+                             fragment=fragment, -+                             lib=lib, -+                             uselib_store=lib, -+                             ccflags=ccflags, -+                             ldflags=ldflags, -+                             uselib=lib.upper(), -+                             mandatory=False, -+                             msg=msg) -         else: --            res = conf.check(lib=lib, uselib_store=lib, ccflags=ccflags, ldflags=ldflags, uselib=lib.upper(), mandatory=False) -+            res = conf.check(lib=lib, -+                             uselib_store=lib, -+                             ccflags=ccflags, -+                             ldflags=ldflags, -+                             uselib=lib.upper(), -+                             mandatory=False, -+                             msg=msg) -  -         if not res: -             if mandatory: -@@ -873,7 +891,7 @@ def SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS(c -         conf.env.undefined_ldflags = conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True) -  -     if not sys.platform.startswith("openbsd") and conf.env.undefined_ignore_ldflags == []: --        if conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup']): -+        if conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup'] + conf.env.WERROR_CFLAGS): -             conf.env.undefined_ignore_ldflags = ['-undefined', 'dynamic_lookup'] -  - @conf | 
