git: 4cd0f014a128 - main - OptionalObsoleteFiles.inc: document block order
Date: Tue, 14 Nov 2023 16:52:05 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=4cd0f014a1285c1b57e583b260282ca433a8ccdd
commit 4cd0f014a1285c1b57e583b260282ca433a8ccdd
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-11-13 23:13:03 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-11-14 16:50:52 +0000
OptionalObsoleteFiles.inc: document block order
Options should be in sort(1) order by primary option (usually, but not
always, first in the if statement).
Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896
---
tools/build/mk/OptionalObsoleteFiles.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 7cefc3c816c5..aaf1dbda5710 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -3,6 +3,8 @@
# This file adds support for the WITHOUT_* and WITH_* knobs in src.conf(5) to
# the check-old* and delete-old* targets.
#
+# Blocks should be in sort(1) order by primary option.
+#
.if ${MK_ACCT} == no
OLD_FILES+=etc/rc.d/accounting