$NetBSD: patch-build_configure,v 1.1 2013/11/05 17:38:41 joerg Exp $

--- build/configure.orig	2013-11-05 09:07:46.000000000 +0000
+++ build/configure
@@ -711,7 +711,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lcurses -termcap $LIBS"
+LIBS="-lcurses -ltermcap $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 717 "configure"
 #include "confdefs.h"
