pkgbase: Put the last sendmail files in the sendmail package

Differential Revision:	https://reviews.freebsd.org/D30757
Sponsored by:	Diablotin Systems
This commit is contained in:
Emmanuel Vadot 2021-06-19 17:50:11 +02:00
parent af5e40770e
commit ed0a582d88

View File

@ -76,10 +76,10 @@ distribution:
.if ${MK_MAIL} != "no"
cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
-T "package=runtime" ${ETCMAIL} ${DESTDIR}/etc/mail
-T "package=sendmail" ${ETCMAIL} ${DESTDIR}/etc/mail
if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \
! -f ${DESTDIR}/etc/aliases ]; then \
${INSTALL_SYMLINK} -T "package=runtime" \
${INSTALL_SYMLINK} -T "package=sendmail" \
mail/aliases ${DESTDIR}/etc/aliases; \
fi
.endif