$OpenBSD: patch-Makefile_in,v 1.1 2001/04/10 01:47:00 brad Exp $
--- Makefile.in.orig	Tue Apr 25 19:06:11 2000
+++ Makefile.in	Mon Apr  9 19:34:56 2001
@@ -25,7 +25,9 @@ BASEDIR= @prefix@
 BINDIR = @bindir@
 # we don't use sbindir because we want full compatibility with
 # the previous releases of Samba
-SBINDIR = @bindir@
+#SBINDIR = @bindir@
+# previous releases of the OpenBSD port did use sbindir
+SBINDIR = @sbindir@
 LIBDIR = @libdir@
 VARDIR = @localstatedir@
 MANDIR = @mandir@
@@ -37,16 +39,16 @@ INSTALLPERMS = 0755
 # 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))
-SMBLOGFILE = $(VARDIR)/log.smb
-NMBLOGFILE = $(VARDIR)/log.nmb
-CONFIGFILE = $(LIBDIR)/smb.conf
-LMHOSTSFILE = $(LIBDIR)/lmhosts
-DRIVERFILE = $(LIBDIR)/printers.def
-PASSWD_PROGRAM = /bin/passwd
+SMBLOGFILE = $(VARDIR)/log/smbd
+NMBLOGFILE = $(VARDIR)/log/nmbd
+
 # This is where smbpasswd et al go
 PRIVATEDIR = @privatedir@
-
 SMB_PASSWD_FILE = $(PRIVATEDIR)/smbpasswd
+CONFIGFILE = $(PRIVATEDIR)/smb.conf
+LMHOSTSFILE = $(PRIVATEDIR)/lmhosts
+DRIVERFILE = $(PRIVATEDIR)/printers.def
+PASSWD_PROGRAM = /usr/bin/passwd
 
 # This is where SWAT images and help files go
 SWATDIR = @swatdir@
