diff --git a/package/base/termutils/no-tput.diff b/package/base/termutils/no-tput.diff new file mode 100644 index 000000000..516d9ee03 --- /dev/null +++ b/package/base/termutils/no-tput.diff @@ -0,0 +1,11 @@ +--- ./Makefile.in~ 1995-12-01 16:39:01.000000000 +0100 ++++ ./Makefile.in 2006-10-22 02:21:47.000000000 +0200 +@@ -76,7 +76,7 @@ + ${CONFIG_BOT} mkinstalldirs + DIST_FILES = $(DIST_CONF) $(SOURCES) $(TEXINFOS) $(INFOS) $(MANS) $(DIST_OTHER) + +-PROGRAMS = tput tabs ++PROGRAMS = tabs + LIBRARIES = util + TEXINFOS = tput.texi + diff --git a/package/base/termutils/termutils.conf b/package/base/termutils/termutils.conf new file mode 100644 index 000000000..f8c4567fc --- /dev/null +++ b/package/base/termutils/termutils.conf @@ -0,0 +1,7 @@ +if pkginstalled ncurses ; then + # ncurses also ships tput + var_append patchfiles ' ' "$confdir/no-tput.diff" +else + # install the tput info page + var_append makeopt ' ' '--install-info' +fi