git: 7a758a4cee23 - main - Revert "terminfo: add terminfo database"

Baptiste Daroussin bapt at FreeBSD.org
Thu Mar 18 10:10:54 UTC 2021


The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=7a758a4cee238aefdf6f631a415100fec28b659a

commit 7a758a4cee238aefdf6f631a415100fec28b659a
Author:     Baptiste Daroussin <bapt at FreeBSD.org>
AuthorDate: 2021-03-18 09:57:23 +0000
Commit:     Baptiste Daroussin <bapt at FreeBSD.org>
CommitDate: 2021-03-18 09:57:23 +0000

    Revert "terminfo: add terminfo database"
    
    This reverts commit 2a50a9de8340f08bd876e9e5993332ae14376f80.
---
 share/Makefile          |  1 -
 share/terminfo/Makefile | 34 ----------------------------------
 2 files changed, 35 deletions(-)

diff --git a/share/Makefile b/share/Makefile
index d6854b230ae5..c4e12b05f7db 100644
--- a/share/Makefile
+++ b/share/Makefile
@@ -26,7 +26,6 @@ SUBDIR=	${_colldef} \
 	${_syscons} \
 	tabset \
 	termcap \
-	terminfo \
 	${_timedef} \
 	${_vt} \
 	${_zoneinfo}
diff --git a/share/terminfo/Makefile b/share/terminfo/Makefile
deleted file mode 100644
index 7bb11f3fdf24..000000000000
--- a/share/terminfo/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-PACKAGE=	runtime
-
-.PATH: ${SRCTOP}/contrib/ncurses/misc
-TINFOBUILDDIR=	${.OBJDIR}/builddir
-CLEANDIRS+=	builddir
-
-.include <src.tools.mk>
-
-.if !defined(_SKIP_BUILD)
-all: terminfo
-.endif
-META_TARGETS+=	terminfo install-terminfo
-
-terminfo: terminfo.src
-	mkdir -p ${TINFOBUILDDIR}
-	${TIC_CMD} -x -o ${TINFOBUILDDIR} ${.ALLSRC}
-
-.if make(*install*)
-TINFOS!=	 cd ${TINFOBUILDDIR} && find * -type f | LC_ALL=C sort
-TINFOSDIRS=	${TINFOS:C/(.).*/\1/g:O:u}
-.endif
-
-beforeinstall: install-terminfo
-install-terminfo:
-	mkdir -p ${DESTDIR}/usr/share/terminfo
-	cd ${DESTDIR}/usr/share/terminfo; mkdir -p ${TINFOSDIRS}
-.for f in ${TINFOS}
-	${INSTALL} ${TAG_ARGS} \
-	    -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
-	    ${TINFOBUILDDIR}/${f} ${DESTDIR}/usr/share/terminfo/${f}
-.endfor
-
-.include <bsd.prog.mk>
-


More information about the dev-commits-src-main mailing list