pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/52711: net/samba4 doesn't accept /usr/local as LOCALBASE



The following reply was made to PR pkg/52711; it has been noted by GNATS.

From: John Klos <john%ziaspace.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/52711: net/samba4 doesn't accept /usr/local as LOCALBASE
Date: Thu, 9 Nov 2017 23:55:11 +0000 (UTC)

 > Have you tried building with --enable-fhs?
 
 I have, and that did not work due to other changes that the option causes. 
 What does seem to work, though:
 
 --- work/samba-4.6.8/dynconfig/wscript.orig	2017-01-11 07:55:14.000000000 +0000
 +++ work/samba-4.6.8/dynconfig/wscript	2017-11-09 23:52:31.000000000 +0000
 @@ -302,9 +302,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 ={}
 


Home | Main Index | Thread Index | Old Index