Conditionalize etc/rc.d/{zfs,zvol} install on MK_ZFS != no

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
ngie 2016-05-15 04:39:36 +00:00
parent 5800a2cb91
commit b71e18cd9f

View File

@ -127,8 +127,6 @@ FILES= DAEMON \
ypset \
ypupdated \
ypxfrd \
zfs \
zvol
.if ${MK_ACCT} != "no"
FILESGROUPS+= ACCT
@ -302,6 +300,13 @@ FILES+= hostapd
FILES+= wpa_supplicant
.endif
.if ${MK_ZFS} != "no"
FILESGROUPS+= ZFS
ZFS+= zfs
ZFS+= zvol
ZFSPACKAGE= zfs
.endif
.for fg in ${FILESGROUPS}
${fg}MODE?= ${BINMODE}
.endfor