Fix dependencies and use a better variable name
This commit is contained in:
parent
bc321b0e44
commit
457767e4ff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73209
@ -38,7 +38,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
SENDMAIL_MC?= freebsd.mc
|
SENDMAIL_MC?= freebsd.mc
|
||||||
SENDMAIL_MC_CF= ${SENDMAIL_MC:R}.cf
|
INSTALL_CF= ${SENDMAIL_MC:R}.cf
|
||||||
|
|
||||||
SENDMAIL_ALIASES?= /etc/mail/aliases
|
SENDMAIL_ALIASES?= /etc/mail/aliases
|
||||||
|
|
||||||
@ -112,8 +112,6 @@ M4FILES!= find ${SENDMAIL_CF_DIR} -type f -name '*.m4' -print
|
|||||||
${M4} -D_CF_DIR_=${SENDMAIL_CF_DIR}/ ${SENDMAIL_CF_DIR}/m4/cf.m4 \
|
${M4} -D_CF_DIR_=${SENDMAIL_CF_DIR}/ ${SENDMAIL_CF_DIR}/m4/cf.m4 \
|
||||||
${@:R}.mc > ${.TARGET}
|
${@:R}.mc > ${.TARGET}
|
||||||
|
|
||||||
${SENDMAIL_MC_CF}: ${M4FILES}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Aliases are handled separately since they normally reside in /etc
|
# Aliases are handled separately since they normally reside in /etc
|
||||||
# and can be rebuild without the help of makemap.
|
# and can be rebuild without the help of makemap.
|
||||||
@ -131,14 +129,14 @@ clean:
|
|||||||
|
|
||||||
depend:
|
depend:
|
||||||
|
|
||||||
cf: ${SENDMAIL_MC_CF}
|
cf: ${INSTALL_CF}
|
||||||
|
|
||||||
maps: ${SENDMAIL_MAP_OBJ}
|
maps: ${SENDMAIL_MAP_OBJ}
|
||||||
|
|
||||||
aliases: ${SENDMAIL_ALIASES}.db
|
aliases: ${SENDMAIL_ALIASES}.db
|
||||||
|
|
||||||
install: ${SENDMAIL_MC_CF}
|
install: ${INSTALL_CF}
|
||||||
${INSTALL} -c -m ${SHAREMODE} ${SENDMAIL_MC_CF} /etc/mail/sendmail.cf
|
${INSTALL} -c -m ${SHAREMODE} ${INSTALL_CF} /etc/mail/sendmail.cf
|
||||||
|
|
||||||
start:
|
start:
|
||||||
(. /etc/defaults/rc.conf; \
|
(. /etc/defaults/rc.conf; \
|
||||||
|
Loading…
Reference in New Issue
Block a user