aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba/files/patch-aa
blob: c99001099c0a0e84b2155dfe1f1b5849097a62bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
--- Makefile.orig   Thu Jan  8 03:29:04 1998
+++ Makefile    Thu Jan  8 14:52:32 1998
@@ -5,11 +5,11 @@
 ###########################################################################
 
 # The base directory for all samba files
-BASEDIR = /usr/local/samba
+BASEDIR = $(PREFIX)
 
 # The base manpages directory to put the man pages in
 # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
-MANDIR = /usr/local/man
+MANDIR = $(PREFIX)/man
 
 # The directories to put things in. If you use multiple
 # architectures or share the samba binaries across NFS then
@@ -18,9 +18,9 @@
 #       normally only applies to nmbd and smbd
 #       SBINDIR implies a secure binary directory
 BINDIR = $(BASEDIR)/bin
-SBINDIR = $(BASEDIR)/bin
-LIBDIR = $(BASEDIR)/lib
-VARDIR = $(BASEDIR)/var
+SBINDIR = $(BASEDIR)/sbin
+LIBDIR = $(BASEDIR)/etc
+VARDIR = /var/log
 
 # The permissions to give the executables
 INSTALLPERMS = 0755
@@ -55,7 +55,7 @@
 WEB_ROOT = $(BASEDIR)
 
 # the directory where lock files go
-LOCKDIR = $(VARDIR)/locks
+LOCKDIR = /var/spool/lock
 
 # The directory where code page definition files go
 CODEPAGEDIR = $(LIBDIR)/codepages
@@ -396,8 +396,8 @@
 # This is for FreeBSD
 # contributed by kuku@acds.physik.rwth-aachen.de
 # NOTE: You may need to add -DBSD44 if you have password problems
-# FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
-# LIBSM = -lcrypt 
+FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
+LIBSM = -lcrypt 
 
 # This is for OpenBSD
 # contributed by todd@openbsd.org