freebsd-ports/japanese/samba/files/patch-ab
Steve Price 2430255b30 Adding ja-sambe version 2.0.5a-2.
A free SMB and CIFS client and server for UNIX.

PR:		15953
Submitted by:	Shinya Sasaki <pcmaster@osk3.3web.ne.jp>
2000-01-29 05:21:39 +00:00

81 lines
3.1 KiB
Plaintext

*** Makefile.in.orig Sun Sep 12 10:52:14 1999
--- Makefile.in Sun Jan 2 10:34:05 2000
***************
*** 23,31 ****
BASEDIR= @prefix@
BINDIR = @bindir@
! # we don't use sbindir because we want full compatibility with
! # the previous releases of Samba
! SBINDIR = @bindir@
LIBDIR = @libdir@
VARDIR = @localstatedir@
MANDIR = @mandir@
--- 23,29 ----
BASEDIR= @prefix@
BINDIR = @bindir@
! SBINDIR = @sbindir@
LIBDIR = @libdir@
VARDIR = @localstatedir@
MANDIR = @mandir@
***************
*** 36,43 ****
# 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
--- 34,42 ----
# 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))
! LOGDIR=$(VARDIR)/log
! SMBLOGFILE = $(LOGDIR)/log.smb
! NMBLOGFILE = $(LOGDIR)/log.nmb
CONFIGFILE = $(LIBDIR)/smb.conf
LMHOSTSFILE = $(LIBDIR)/lmhosts
DRIVERFILE = $(LIBDIR)/printers.def
***************
*** 53,58 ****
--- 52,60 ----
# 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 = $(LIBDIR)/codepages
***************
*** 70,76 ****
PASSWD_FLAGS = -DPASSWD_PROGRAM=\"$(PASSWD_PROGRAM)\" -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\"
FLAGS1 = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper $(CPPFLAGS) -DSMBLOGFILE=\"$(SMBLOGFILE)\" -DNMBLOGFILE=\"$(NMBLOGFILE)\"
FLAGS2 = -DCONFIGFILE=\"$(CONFIGFILE)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\"
! FLAGS3 = -DSWATDIR=\"$(SWATDIR)\" -DSBINDIR=\"$(SBINDIR)\" -DLOCKDIR=\"$(LOCKDIR)\" -DSMBRUN=\"$(SMBRUN)\" -DCODEPAGEDIR=\"$(CODEPAGEDIR)\"
FLAGS4 = -DDRIVERFILE=\"$(DRIVERFILE)\" -DBINDIR=\"$(BINDIR)\"
FLAGS5 = $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) -DHAVE_INCLUDES_H
FLAGS = $(ISA) $(FLAGS5) $(PASSWD_FLAGS)
--- 72,78 ----
PASSWD_FLAGS = -DPASSWD_PROGRAM=\"$(PASSWD_PROGRAM)\" -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\"
FLAGS1 = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper $(CPPFLAGS) -DSMBLOGFILE=\"$(SMBLOGFILE)\" -DNMBLOGFILE=\"$(NMBLOGFILE)\"
FLAGS2 = -DCONFIGFILE=\"$(CONFIGFILE)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\"
! 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)
***************
*** 461,466 ****
--- 463,469 ----
installman:
@$(SHELL) $(srcdir)/script/installman.sh $(MANDIR) $(srcdir) "@ROFF@"
+ @$(SHELL) $(srcdir)/../samba-jp/man/install-man.sh "$(MANDIR)/ja" "$(srcdir)/../samba-jp/man" "cat" ""
uninstall: uninstallman uninstallbin uninstallscripts uninstallcp