diff options
| author | Timur I. Bakeyev <timur@FreeBSD.org> | 2016-05-07 00:38:27 +0000 |
|---|---|---|
| committer | Timur I. Bakeyev <timur@FreeBSD.org> | 2016-05-07 00:38:27 +0000 |
| commit | d510581cd41940cd25c80a664aa23448912d377b (patch) | |
| tree | e4b5bd82cee1dd9813f4c2dd7b11bd0c52c4814f /net/samba44/files/patch-dynconfig__wscript | |
| parent | Update samba42 and samba43 to the latest versions. A lot of fixes are made to... (diff) | |
Add latest release of Samba 4.4. Port is NOT fully tested, don't use in the production(yet). Make backups before deploying.
Diffstat (limited to 'net/samba44/files/patch-dynconfig__wscript')
| -rw-r--r-- | net/samba44/files/patch-dynconfig__wscript | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net/samba44/files/patch-dynconfig__wscript b/net/samba44/files/patch-dynconfig__wscript new file mode 100644 index 000000000000..713065911f55 --- /dev/null +++ b/net/samba44/files/patch-dynconfig__wscript @@ -0,0 +1,32 @@ +--- ./dynconfig/wscript.orig 2012-11-13 08:03:38.000000000 +0000 ++++ ./dynconfig/wscript 2013-01-29 19:43:57.489880918 +0000 +@@ -127,6 +127,8 @@ + 'PKGCONFIGDIR' : { + 'STD-PATH': '${LIBDIR}/pkgconfig', + 'FHS-PATH': '${LIBDIR}/pkgconfig', ++ 'OPTION': '--with-pkgconfigdir', ++ 'HELPTEXT': 'Where to put .pc files', + }, + 'SWATDIR' : { + 'STD-PATH': '${DATADIR}/swat', +@@ -236,8 +238,8 @@ + 'DELAY': True, + }, + 'CONFIGFILE' : { +- 'STD-PATH': '${CONFIGDIR}/smb.conf', +- 'FHS-PATH': '${CONFIGDIR}/smb.conf', ++ 'STD-PATH': '${CONFIGDIR}/%%SAMBA4_CONFIG%%', ++ 'FHS-PATH': '${CONFIGDIR}/%%SAMBA4_CONFIG%%', + 'DELAY': True, + }, + 'LMHOSTSFILE' : { +@@ -294,9 +296,6 @@ + flavor = 'FHS-PATH' + else: + flavor = 'STD-PATH' +- if conf.env.PREFIX == '/usr' or conf.env.PREFIX == '/usr/local': +- Logs.error("Don't install directly under /usr or /usr/local without using the FHS option (--enable-fhs)") +- raise Utils.WafError("ERROR: invalid --prefix=%s value" % (conf.env.PREFIX)) + + explicit_set ={} + |
