apm: Only install rc script on i386

The apm(8) rc script only works on i386, but it's installed on all
platforms.  Only install it on i386, which avoids creating a useless
FreeBSD-apm package on other platforms.

While here, build the acpi package on i386.

MFC after:	2 weeks
Reviewed by:	imp
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D56629
This commit is contained in:
Lexi Winter
2026-04-26 17:47:27 +01:00
parent 4dd97955e6
commit b7daab8be1
8 changed files with 24 additions and 13 deletions
+3
View File
@@ -61,6 +61,9 @@ OLD_FILES+=etc/rc.d/apmd
OLD_FILES+=etc/apmd.conf
OLD_FILES+=usr/sbin/apm
OLD_FILES+=usr/share/examples/etc/apmd.conf
.elif ${TARGET_ARCH} != "i386"
OLD_FILES+=etc/rc.d/apm
OLD_FILES+=etc/rc.d/apmd
.endif
.if ${MK_AT} == no