git: 796d48ec4168 - main - ftpd(8): do not refer to now unused libxo(3)

From: Eugene Grosbein <eugen_at_FreeBSD.org>
Date: Fri, 10 Jun 2022 14:09:29 UTC
The branch main has been updated by eugen:

URL: https://cgit.FreeBSD.org/src/commit/?id=796d48ec416863ab2826a1205365710635244023

commit 796d48ec416863ab2826a1205365710635244023
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2022-06-10 14:03:07 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2022-06-10 14:09:20 +0000

    ftpd(8): do not refer to now unused libxo(3)
    
    In 2018, the commit r328100 (0fdf7fa846b1a1b1679e86812a1b08b8cb623604)
    removed libxo(3) support from ls(1), so ftpd has no reasons to link
    with libxo since then.
    
    ls(1) does not depend on libxo in both of stable/12 and stable/13.
    
    MFC after:      2 weeks
---
 libexec/ftpd/Makefile        | 2 +-
 libexec/ftpd/Makefile.depend | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index 4d38261b9318..533022c5a033 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -16,7 +16,7 @@ YFLAGS=
 WARNS?=	2
 WFORMAT=0
 
-LIBADD=	crypt xo util
+LIBADD=	crypt util
 
 # XXX Kluge! Conversation mechanism needs to be fixed.
 LIBADD+=	opie md
diff --git a/libexec/ftpd/Makefile.depend b/libexec/ftpd/Makefile.depend
index 47871a6b9cf7..148254e533cb 100644
--- a/libexec/ftpd/Makefile.depend
+++ b/libexec/ftpd/Makefile.depend
@@ -13,7 +13,6 @@ DIRDEPS = \
 	lib/libopie \
 	lib/libthr \
 	lib/libutil \
-	lib/libxo \
 	lib/msun \
 	usr.bin/yacc.host \