  create_account firebird                &&
  default_pre_build                      &&
  cd $SOURCE_DIRECTORY                   &&

# at present the build only works for everything in one directory
# tree /usr/firebird

# remove supplied ICU & editline packages
  rm -rf extern                            &&
# fix for gcc4 and smgl issues
  local PATCH                              &&
  case "$FB_VER" in
	cvs|devel)
          PATCH=fb2.patch.bz2
            ;;
	*)
         PATCH=fb15.patch.bz2
            ;;
  esac                                      &&
#apply patches
  bzcat $SPELL_DIRECTORY/$PATCH | patch -p1 &&

# run autogen
  NOCONFIGURE=1 . ./autogen.sh

