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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user