diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile index f26c190fe9dd..e3a38b03eedd 100644 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -107,7 +107,7 @@ FILES= DAEMON \ ntpd \ ntpdate \ ${_opensm} \ - othermta \ + ${_othermta} \ pf \ pflog \ pfsync \ @@ -186,6 +186,10 @@ _kfd= kfd _kpasswdd= kpasswdd .endif +.if ${MK_MAIL} != "no" +_othermta= othermta +.endif + .if ${MK_OFED} != "no" _opensm= opensm .endif