default_pre_build  &&

cd "${SOURCE_DIRECTORY}"  &&

patch  -p1  <  $SCRIPT_DIRECTORY/sysklogd-1.4.1-kernel_header.patch         &&
sedit  "s:BINDIR = /usr/sbin:BINDIR=$INSTALL_ROOT/sbin:"          Makefile  &&
sedit  "s:MANDIR = /usr/man:MANDIR=$INSTALL_ROOT/usr/share/man:"  Makefile  &&

if  [  "${LARGE_FILES}"  ==  "y"  ];  then
  sedit  "s:SYSLOGD_FLAGS=:SYSLOGD_FLAGS= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE:"  Makefile
fi
