freebsd-ports/devel/talloc/files/patch-wscript
Timur I. Bakeyev 29295bfeff 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.
2019-06-19 22:44:25 +00:00

18 lines
563 B
Text

--- wscript.orig 2019-03-21 10:12:32 UTC
+++ wscript
@@ -45,13 +45,14 @@ def configure(conf):
conf.env.TALLOC_COMPAT1 = False
if conf.env.standalone_talloc:
conf.env.TALLOC_COMPAT1 = Options.options.TALLOC_COMPAT1
- conf.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
+ conf.env.PKGCONFIGDIR = '%%PKGCONFIGDIR%%'
conf.env.TALLOC_VERSION = VERSION
conf.CHECK_XSLTPROC_MANPAGES()
conf.CHECK_HEADERS('sys/auxv.h')
conf.CHECK_FUNCS('getauxval')
+ conf.CHECK_FUNCS('arc4random')
conf.SAMBA_CONFIG_H()