aboutsummaryrefslogtreecommitdiff
path: root/devel/talloc1/files/patch-wscript
blob: 1d5c9c6d13b4113f729654b661533b4381ddd6f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- wscript.orig	2018-01-13 09:07:51 UTC
+++ wscript
@@ -46,13 +46,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()