summaryrefslogtreecommitdiff
path: root/share/sendmail
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-03-11 23:45:09 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-03-11 23:45:09 +0000
commitd5cc05798547f6546979521b1bccf3def5fc4811 (patch)
tree4e5100019da5a280cc182d0139aa8759b1ae1a69 /share/sendmail
parent4d7ae5ef71a055fe45993e4d9786163b640da874 (diff)
downloadsrc-test2-d5cc05798547f6546979521b1bccf3def5fc4811.tar.gz
src-test2-d5cc05798547f6546979521b1bccf3def5fc4811.zip
Notes
Diffstat (limited to 'share/sendmail')
-rw-r--r--share/sendmail/Makefile9
-rw-r--r--share/sendmail/Makefile.depend1
2 files changed, 8 insertions, 2 deletions
diff --git a/share/sendmail/Makefile b/share/sendmail/Makefile
index a548b63144e5..c8dee5a3f56a 100644
--- a/share/sendmail/Makefile
+++ b/share/sendmail/Makefile
@@ -16,8 +16,10 @@ SHARED?= copies
all clean cleandir depend lint tags:
beforeinstall: ${SHARED}
+META_COOKIES+= copies symlinks
-copies::
+copies:
+ ${META_COOKIE_RM}
if [ -L ${DDIR}/${CFDIR} ]; then rm -f ${DDIR}/${CFDIR}; fi
.for dir in ${CFDIRS}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 -d ${DDIR}/${dir}
@@ -25,8 +27,11 @@ copies::
.for file in ${CFFILES}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file}
.endfor
+ ${META_COOKIE_TOUCH}
-symlinks::
+symlinks:
+ ${META_COOKIE_RM}
rm -rf ${DDIR}/${CFDIR}; ln -s ${SENDMAIL_DIR}/${CFDIR} ${DDIR}/${CFDIR}
+ ${META_COOKIE_TOUCH}
.include <bsd.prog.mk>
diff --git a/share/sendmail/Makefile.depend b/share/sendmail/Makefile.depend
index f80275d86ab1..d7cfba0e4f6e 100644
--- a/share/sendmail/Makefile.depend
+++ b/share/sendmail/Makefile.depend
@@ -2,6 +2,7 @@
# Autogenerated - do NOT edit!
DIRDEPS = \
+ usr.bin/xinstall.host \
.include <dirdeps.mk>