diff --git a/package/base/termcap/config.in b/package/base/termcap/config.in index b07db29ea..b1fef57b6 100644 --- a/package/base/termcap/config.in +++ b/package/base/termcap/config.in @@ -20,8 +20,6 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- -if pkgcheck termcap X -then menu_begin MENU_PKG_TERMCAP 'Termcap (obsoleted by [n]curses)' bool 'Build and use termcap library' ROCKCFG_PKG_TERMCAP_USEIT 0 @@ -32,7 +30,9 @@ then if [ "$ROCKCFG_PKG_TERMCAP_USETERMUTILS" = 1 ] ; then pkgenable termutils fi + else + pkdisable termcap termutils + ROCKCFG_PKG_TERMCAP_USETERMUTILS=0 fi menu_end -fi