1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/samba48/files/patch-dynconfig__wscript
Timur I. Bakeyev 328ef95a2f Repocopy of samba48
Sponsored by:	iXsystems Inc.
2018-03-24 22:07:01 +00:00

33 lines
1.1 KiB
Plaintext

--- dynconfig/wscript.orig 2017-07-04 10:05:25 UTC
+++ dynconfig/wscript
@@ -137,6 +137,8 @@ dynconfig = {
'PKGCONFIGDIR' : {
'STD-PATH': '${LIBDIR}/pkgconfig',
'FHS-PATH': '${LIBDIR}/pkgconfig',
+ 'OPTION': '--with-pkgconfigdir',
+ 'HELPTEXT': 'Where to put .pc files',
},
'CODEPAGEDIR' : {
'STD-PATH': '${DATADIR}/codepages',
@@ -237,8 +239,8 @@ dynconfig = {
'DELAY': True,
},
'CONFIGFILE' : {
- 'STD-PATH': '${CONFIGDIR}/smb.conf',
- 'FHS-PATH': '${CONFIGDIR}/smb.conf',
+ 'STD-PATH': '${CONFIGDIR}/smb4.conf',
+ 'FHS-PATH': '${CONFIGDIR}/smb4.conf',
'DELAY': True,
},
'LMHOSTSFILE' : {
@@ -297,9 +299,6 @@ def configure(conf):
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 ={}