summaryrefslogtreecommitdiff
path: root/net/samba4/patches/patch-dynconfig_wscript
blob: a6fae1ef0ecb2fc864499391285d64bb8be9a037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-dynconfig_wscript,v 1.3 2019/03/20 19:09:10 adam Exp $

Do not check installation prefix.

--- dynconfig/wscript.orig	2019-01-15 10:07:00.000000000 +0000
+++ dynconfig/wscript
@@ -307,9 +307,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 Errors.WafError("ERROR: invalid --prefix=%s value" % (conf.env.PREFIX))
 
     explicit_set ={}