spf_template gnu &&
spf_template sourceforge &&
spf_template_sourceforge_pid 13179 &&
spf_template_sourceforge_path /Expect &&
case ${spf_version?} in
  5.43.0)
    spf_srcdir "${spf_base?}"-5.43 &&
    spf_template_gnu_x &&
    spf_depend tcl versions '8.4.*' &&
    spf_depend tk  versions '8.4.*' degree optional;;
  *)
    spf_depend tcl &&
    spf_depend tk            degree optional &&
    spf_depend libxscrnsaver degree optional &&
    spf_depend libxext       degree optional &&
    spf_args configure --exec-prefix="${spf_path_prefix?}";;
esac &&
spf_depend xproto degree optional flags include &&
spf_depend libx11 degree optional &&
case ${spf_version?} in
  5.4[34].*) :;;
  *)
    spf_template_sourceforge_src_ext gz &&
    spf_template_sourceforge_version "${spf_version?}" &&
    spf_srcdir "${spf_base?}${spf_version?}";;
esac &&
spf_template_gnu_do_before_configure() {
  set "${spf_path_conf?}"/tcl/compile/src/tcl* &&
  spf_args configure --with-tcl="$1"/unix &&
  case ${spf_version?} in
    5.43.0) ##
      prj_sedfile Makefile.in 's/^CPPFLAGS *=/& @CPPFLAGS@ /' &&
      sleep 2 &&
      touch configure;;
    5.44.1.15) #### report this
      prj_sedfile Makefile.in 's/-o expect/$(LDFLAGS_DEFAULT) &/';;
    *) :;;
  esac &&
  if test -d "${spf_path_conf?}"/tk/.; then
    set "${spf_path_conf?}"/tk/compile/src/tk* &&
    spf_args configure --with-tk="$1"/unix
  else :
  fi
} &&
spf_template_gnu_do_check() { make test; } &&
spf_tested_version 5.45 &&
spf_tested_version 5.44.1.15 &&
spf_tested_version 5.43.0

