Honor MK_ACPI in etc/devd and etc/rc.d

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-01-26 08:04:38 +00:00
parent 61940879ef
commit 4a0ea4d698
3 changed files with 10 additions and 1 deletions

View File

@ -2,12 +2,16 @@
.include <src.opts.mk>
FILES=
.if ${MACHINE} == "powerpc"
FILES+= apple.conf
.endif
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
.if ${MK_ACPI} != "no"
FILES+= asus.conf
.endif
.if ${MK_HYPERV} != "no"
FILES+= hyperv.conf
.endif

View File

@ -103,7 +103,6 @@ FILES= DAEMON \
pflog \
pfsync \
powerd \
power_profile \
ppp \
pppoed \
pwcheck \
@ -155,6 +154,10 @@ FILES= DAEMON \
zfs \
zvol
.if ${MK_ACPI} != "no"
FILES+= power_profile
.endif
.if ${MK_AUTOFS} != "no"
FILES+= automount
FILES+= automountd

View File

@ -14,6 +14,8 @@ OLD_FILES+=usr/share/man/man8/sa.8.gz
.endif
.if ${MK_ACPI} == no
OLD_FILES+=etc/devd/asus.conf
OLD_FILES+=etc/rc.d/power_profile
OLD_FILES+=usr/sbin/acpiconf
OLD_FILES+=usr/sbin/acpidb
OLD_FILES+=usr/sbin/acpidump