Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2018 12:22:42 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r328928 - in head: contrib/libreadline gnu/lib gnu/lib/libreadline share/mk targets/pseudo/userland/gnu
Message-ID:  <201802061222.w16CMgvs039144@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Feb  6 12:22:42 2018
New Revision: 328928
URL: https://svnweb.freebsd.org/changeset/base/328928

Log:
  Remove libreadline from the source tree, all consumers but gdb
  has been switched to libedit long ago, libreadline was built as an
  internallib for a while and kept only for gdbtui which was broken using
  libreadline.
  
  Since gdb has been mostly deorbitted in all arches, gdbtui was only installed
  on arm and sparc64, given it has been removed, gdb has been switched to use
  libedit, no consumers are left for libreadline. Thus this removal

Deleted:
  head/contrib/libreadline/
  head/gnu/lib/libreadline/
Modified:
  head/gnu/lib/Makefile
  head/share/mk/src.libnames.mk
  head/targets/pseudo/userland/gnu/Makefile.depend

Modified: head/gnu/lib/Makefile
==============================================================================
--- head/gnu/lib/Makefile	Tue Feb  6 12:17:03 2018	(r328927)
+++ head/gnu/lib/Makefile	Tue Feb  6 12:22:42 2018	(r328928)
@@ -7,7 +7,6 @@ SUBDIR.${MK_DIALOG}+=	libdialog
 SUBDIR.${MK_GCC}+=	libgcov libgomp
 SUBDIR.${MK_SSP}+=	libssp
 SUBDIR.${MK_TESTS}+=	tests
-SUBDIR.${MK_GDB}+=	libreadline
 
 .if ${MK_GNU_GREP} != "no" || ${MK_GNU_GREP_COMPAT} != "no" || \
     ${MK_GDB} != "no"

Modified: head/share/mk/src.libnames.mk
==============================================================================
--- head/share/mk/src.libnames.mk	Tue Feb  6 12:17:03 2018	(r328927)
+++ head/share/mk/src.libnames.mk	Tue Feb  6 12:22:42 2018	(r328928)
@@ -44,7 +44,6 @@ _INTERNALLIBS=	\
 		parse \
 		pe \
 		pmcstat \
-		readline \
 		sl \
 		sm \
 		smdb \
@@ -147,7 +146,6 @@ _LIBRARIES=	\
 		procstat \
 		pthread \
 		radius \
-		readline \
 		regex \
 		roken \
 		rpcsec_gss \
@@ -290,7 +288,6 @@ _DP_pam+=	ssh
 .if ${MK_NIS} != "no"
 _DP_pam+=	ypclnt
 .endif
-_DP_readline=	ncursesw
 _DP_roken=	crypt
 _DP_kadm5clnt=	com_err krb5 roken
 _DP_kadm5srv=	com_err hdb krb5 roken
@@ -413,9 +410,6 @@ LIBELFTC?=	${LIBELFTCDIR}/libelftc.a
 
 LIBPEDIR=	${OBJTOP}/lib/libpe
 LIBPE?=		${LIBPEDIR}/libpe.a
-
-LIBREADLINEDIR=	${OBJTOP}/gnu/lib/libreadline/readline
-LIBREADLINE?=	${LIBREADLINEDIR}/libreadline.a
 
 LIBOPENBSDDIR=	${OBJTOP}/lib/libopenbsd
 LIBOPENBSD?=	${LIBOPENBSDDIR}/libopenbsd.a

Modified: head/targets/pseudo/userland/gnu/Makefile.depend
==============================================================================
--- head/targets/pseudo/userland/gnu/Makefile.depend	Tue Feb  6 12:17:03 2018	(r328927)
+++ head/targets/pseudo/userland/gnu/Makefile.depend	Tue Feb  6 12:22:42 2018	(r328928)
@@ -11,8 +11,6 @@ DIRDEPS = \
 	gnu/lib/libdialog \
 	gnu/lib/libgcov \
 	gnu/lib/libgomp \
-	gnu/lib/libreadline/history/doc \
-	gnu/lib/libreadline/readline/doc \
 	gnu/lib/libregex/doc \
 	gnu/lib/libssp \
 	gnu/lib/libssp/libssp_nonshared \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802061222.w16CMgvs039144>