mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
959846cd21
PR: 26655 Submitted by: Maintainer
36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
--- Makefile.in.orig Fri Mar 23 16:38:06 2001
|
|
+++ Makefile.in Fri Mar 23 18:12:53 2001
|
|
@@ -43,11 +43,11 @@
|
|
# set these to where to find various files
|
|
# These can be overridden by command line switches (see smbd(8))
|
|
# or in smb.conf (see smb.conf(5))
|
|
-LOGFILEBASE = @logfilebase@
|
|
+LOGFILEBASE = $(VARDIR)/log
|
|
CONFIGFILE = $(CONFIGDIR)/smb.conf
|
|
LMHOSTSFILE = $(CONFIGDIR)/lmhosts
|
|
DRIVERFILE = $(CONFIGDIR)/printers.def
|
|
-PASSWD_PROGRAM = /bin/passwd
|
|
+PASSWD_PROGRAM = /usr/bin/passwd
|
|
# This is where smbpasswd et al go
|
|
PRIVATEDIR = @privatedir@
|
|
|
|
@@ -60,6 +60,9 @@
|
|
# the directory where lock files go
|
|
LOCKDIR = @lockdir@
|
|
|
|
+# the directory where pid files go
|
|
+PIDFILEDIR = $(VARDIR)/run
|
|
+
|
|
# The directory where code page definition files go
|
|
CODEPAGEDIR = @codepagedir@
|
|
|
|
@@ -78,7 +81,7 @@
|
|
PASSWD_FLAGS = -DPASSWD_PROGRAM=\"$(PASSWD_PROGRAM)\" -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\" -DTDB_PASSWD_FILE=\"$(TDB_PASSWD_FILE)\"
|
|
FLAGS1 = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper $(CPPFLAGS) -DLOGFILEBASE=\"$(LOGFILEBASE)\"
|
|
FLAGS2 = -DCONFIGFILE=\"$(CONFIGFILE)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\"
|
|
-FLAGS3 = -DSWATDIR=\"$(SWATDIR)\" -DSBINDIR=\"$(SBINDIR)\" -DLOCKDIR=\"$(LOCKDIR)\" -DCODEPAGEDIR=\"$(CODEPAGEDIR)\"
|
|
+FLAGS3 = -DSWATDIR=\"$(SWATDIR)\" -DSBINDIR=\"$(SBINDIR)\" -DLOCKDIR=\"$(LOCKDIR)\" -DPIDFILEDIR=\"$(PIDFILEDIR)\" -DSMBRUN=\"$(SMBRUN)\" -DCODEPAGEDIR=\"$(CODEPAGEDIR)\"
|
|
FLAGS4 = -DDRIVERFILE=\"$(DRIVERFILE)\" -DBINDIR=\"$(BINDIR)\"
|
|
FLAGS5 = $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) -DHAVE_INCLUDES_H
|
|
FLAGS = $(ISA) $(FLAGS5) $(PASSWD_FLAGS)
|