View | Details | Raw Unified | Return to bug 13016 | Differences between
and this patch

Collapse All | Expand All

(-)etc/sendmail/Makefile (-9 / +3 lines)
Lines 16-26 Link Here
16
	$(CHMOD) $(ROMODE) ${.TARGET}
16
	$(CHMOD) $(ROMODE) ${.TARGET}
17
17
18
ALL=	freebsd.cf
18
ALL=	freebsd.cf
19
SENDMAIL_CF?= freebsd.cf
19
20
20
# Local sendmail.cf, may be set in /etc/make.conf.  Warning! If set, this
21
# Local sendmail.cf, may be set in /etc/make.conf.  Warning! If set, this
21
# causes 'make install' to always copy it over /etc/sendmail.cf!!!
22
# causes 'make install' to always copy it over /etc/sendmail.cf!!!
22
# Caveat emptor!  Be sure you want this before you enable it.
23
# Caveat emptor!  Be sure you want this before you enable it.
23
.if defined(SENDMAIL_CF)
24
.if defined(SENDMAIL_CF) && ${SENDMAIL_CF} != "freebsd.cf"
24
ALL+=	${SENDMAIL_CF}
25
ALL+=	${SENDMAIL_CF}
25
.endif
26
.endif
26
27
Lines 30-44 Link Here
30
31
31
depend:
32
depend:
32
33
33
install:
34
install: ${SENDMAIL_CF}
34
.if defined(SENDMAIL_CF)
35
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${SENDMAIL_CF} \
35
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${SENDMAIL_CF} \
36
		${DESTDIR}/etc/sendmail.cf
37
.endif
38
39
# Helper for src/etc/Makefile
40
etc-sendmail.cf: freebsd.cf
41
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 freebsd.cf \
42
		${DESTDIR}/etc/sendmail.cf
36
		${DESTDIR}/etc/sendmail.cf
43
37
44
# this is overkill, but....
38
# this is overkill, but....

Return to bug 13016