git: 149c85360cf8 - stable/12 - ftpd(8): do not refer to now unused libxo(3)

From: Eugene Grosbein <eugen_at_FreeBSD.org>
Date: Fri, 29 Jul 2022 02:37:10 UTC
The branch stable/12 has been updated by eugen:

URL: https://cgit.FreeBSD.org/src/commit/?id=149c85360cf835b970171cc9a49953770e6c3394

commit 149c85360cf835b970171cc9a49953770e6c3394
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2022-06-10 14:03:07 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2022-07-29 02:36:53 +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.
    
    (cherry picked from commit 796d48ec416863ab2826a1205365710635244023)
---
 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 f3a52d08521d..bc30ccf05063 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -14,7 +14,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 \