aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/Makefile6
-rw-r--r--etc/rc.d/Makefile6
-rw-r--r--lib/libmilter/Makefile2
-rw-r--r--lib/libsm/Makefile2
-rw-r--r--libexec/mail.local/Makefile1
-rw-r--r--usr.sbin/sendmail/Makefile1
6 files changed, 14 insertions, 4 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 60dda7a441aa..3de8f974ba98 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -139,8 +139,12 @@ BIN1+= pf.os
.endif
.if ${MK_SENDMAIL} != "no"
-BIN1+= rc.sendmail
+FILESGROUPS+= SENDMAILRC
+SENDMAILRC= rc.sendmail
.endif
+SENDMAILRCDIR= /etc
+SENDMAILRCMODE= ${BINMODE}
+SENDMAILRCPACKAGE=sendmail
.if ${MK_TCSH} != "no"
BIN1+= csh.cshrc csh.login csh.logout
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index 31cffcddfda9..d0660fb80023 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -296,8 +296,12 @@ FILES+= routed
.endif
.if ${MK_SENDMAIL} != "no"
-FILES+= sendmail
+FILESGROUPS+= SMRCD
+SMRCD= sendmail
.endif
+SMRCDDIR= /etc/rc.d
+SMRCDDIRMODE= ${BINMODE}
+SMRCDPACKAGE= sendmail
.if ${MK_TIMED} != "no"
FILES+= timed
diff --git a/lib/libmilter/Makefile b/lib/libmilter/Makefile
index 2cb2694bac80..88a80b7e0684 100644
--- a/lib/libmilter/Makefile
+++ b/lib/libmilter/Makefile
@@ -2,7 +2,7 @@
.include <src.opts.mk>
-PACKAGE=lib${LIB}
+PACKAGE=sendmail
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile
index af2831479b06..984009259fc3 100644
--- a/lib/libsm/Makefile
+++ b/lib/libsm/Makefile
@@ -2,7 +2,7 @@
.include <src.opts.mk>
-PACKAGE=lib${LIB}
+PACKAGE=sendmail
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsm
diff --git a/libexec/mail.local/Makefile b/libexec/mail.local/Makefile
index 79844e8972dd..6b4256f8a091 100644
--- a/libexec/mail.local/Makefile
+++ b/libexec/mail.local/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
+PACKAGE=sendmail
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/mail.local
diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile
index f9641c1675d8..d7246cbef84b 100644
--- a/usr.sbin/sendmail/Makefile
+++ b/usr.sbin/sendmail/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=sendmail
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
SMDIR= ${SENDMAIL_DIR}/src
.PATH: ${SMDIR}