git: 19a185085516 - stable/14 - Sort MK_BSD_CPIO before MK_BSDINSTALL

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Sat, 02 Dec 2023 00:54:51 UTC
The branch stable/14 has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=19a18508551685628bc725039896b1ac0737dce2

commit 19a18508551685628bc725039896b1ac0737dce2
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-11-09 00:54:22 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-12-02 00:11:30 +0000

    Sort MK_BSD_CPIO before MK_BSDINSTALL
    
    Using sort(1) order makes verification of the sort easier.
    
    Reviewed by:    emaste, imp, netchild
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/896
    
    (cherry picked from commit 4ca5df80393e1f2bf6ac26af42fc7246acb59f71)
---
 tools/build/mk/OptionalObsoleteFiles.inc | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index b782f8d102b0..56faed2a27f3 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -400,13 +400,6 @@ OLD_FILES+=usr/sbin/bootptest
 OLD_FILES+=usr/share/man/man8/bootptest.8.gz
 .endif
 
-.if ${MK_BSD_CPIO} == no
-OLD_FILES+=usr/bin/bsdcpio
-OLD_FILES+=usr/bin/cpio
-OLD_FILES+=usr/share/man/man1/bsdcpio.1.gz
-OLD_FILES+=usr/share/man/man1/cpio.1.gz
-.endif
-
 .if ${MK_BSDINSTALL} == no
 OLD_FILES+=usr/libexec/bsdinstall/adduser
 OLD_FILES+=usr/libexec/bsdinstall/auto
@@ -445,6 +438,13 @@ OLD_FILES+=usr/share/man/man8/sade.8.gz
 OLD_DIRS+=usr/libexec/bsdinstall
 .endif
 
+.if ${MK_BSD_CPIO} == no
+OLD_FILES+=usr/bin/bsdcpio
+OLD_FILES+=usr/bin/cpio
+OLD_FILES+=usr/share/man/man1/bsdcpio.1.gz
+OLD_FILES+=usr/share/man/man1/cpio.1.gz
+.endif
+
 .if ${MK_BSNMP} == no
 OLD_FILES+=etc/snmpd.config
 OLD_FILES+=etc/rc.d/bsnmpd