$OpenBSD: patch-configure,v 1.15 2017/03/28 20:43:40 fcambus Exp $
--- configure.orig	Sat Mar  4 18:54:35 2017
+++ configure	Mon Mar 20 23:18:27 2017
@@ -16424,7 +16424,7 @@ if ${ac_cv_lib_slang_SLang_init_tty+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lslang  $LIBS"
+LIBS="-lslang -ltermcap  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -27507,7 +27507,7 @@ done
   done
 IFS=$as_save_IFS
 
-  test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP="/usr/bin/zip"
+  ac_cv_path_ZIP="${LOCALBASE}/bin/zip"
   ;;
 esac
 fi
@@ -27548,7 +27548,7 @@ done
   done
 IFS=$as_save_IFS
 
-  test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP="/usr/bin/unzip"
+  ac_cv_path_UNZIP="${LOCALBASE}/bin/unzip"
   ;;
 esac
 fi
