git: 0bcd8425f055 - stable/13 - OptionalObsoleteFiles: etc/rc.d/powerd is used/useful without ACPI/APM

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Fri, 27 Jun 2025 07:42:57 UTC
The branch stable/13 has been updated by avg:

URL: https://cgit.FreeBSD.org/src/commit/?id=0bcd8425f055584630ffaa6b932ac22440e61986

commit 0bcd8425f055584630ffaa6b932ac22440e61986
Author:     Andriy Gapon <avg@FreeBSD.org>
AuthorDate: 2025-05-19 09:23:29 +0000
Commit:     Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2025-06-27 07:38:38 +0000

    OptionalObsoleteFiles: etc/rc.d/powerd is used/useful without ACPI/APM
    
    Just like powerd daemon does not depend on ACPI/APM, its rc script does
    not either.
    
    Fixes:          20eb6bd8c598f
    
    (cherry picked from commit 28d74f18f1c222022ee4e9a2cdc63b1c21037392)
---
 tools/build/mk/OptionalObsoleteFiles.inc | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 5675d92197df..256fbc4e56f1 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -53,10 +53,6 @@ OLD_FILES+=usr/share/man/man8/acpidump.8.gz
 OLD_FILES+=usr/share/man/man8/iasl.8.gz
 .endif
 
-.if ${MK_ACPI} == no && ${MK_APM} == no
-OLD_FILES+=etc/rc.d/powerd
-.endif
-
 .if ${MK_APM} == no
 OLD_FILES+=etc/rc.d/apm
 OLD_FILES+=etc/rc.d/apmd