View | Details | Raw Unified | Return to bug 22619
Collapse All | Expand All

(-)sendmail-8.11.1/Makefile (-1 / +2 lines)
Lines 18-24 Link Here
18
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
18
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
19
PLIST=		${WRKDIR}/.PLIST.more
19
PLIST=		${WRKDIR}/.PLIST.more
20
20
21
.if exists(/etc/mail/mailer.conf)
21
.if exists(${DESTDIR}/etc/mail/mailer.conf)
22
pre-configure:
22
pre-configure:
23
	${SED} -e "s=%%PREFIX%%=${PREFIX}=" \
23
	${SED} -e "s=%%PREFIX%%=${PREFIX}=" \
24
	${FILESDIR}/site.config.m4 >${WRKSRC}/devtools/Site/site.config.m4
24
	${FILESDIR}/site.config.m4 >${WRKSRC}/devtools/Site/site.config.m4
Lines 46-51 Link Here
46
	${AWK} '{print "share/sendmail/" $$1}' >>${PLIST}
46
	${AWK} '{print "share/sendmail/" $$1}' >>${PLIST}
47
	cd ${WRKSRC} && find -d cf -type d | \
47
	cd ${WRKSRC} && find -d cf -type d | \
48
	${AWK} '{print "@dirrm share/sendmail/" $$1}' >>${PLIST}
48
	${AWK} '{print "@dirrm share/sendmail/" $$1}' >>${PLIST}
49
	${ECHO} "@dirrm share/sendmail" >>${PLIST}
49
.endif
50
.endif
50
51
51
# We want mail.local and rmail for our system.
52
# We want mail.local and rmail for our system.
(-)sendmail-8.11.1/files/site.config.m4 (-1 / +2 lines)
Lines 4-7 Link Here
4
define(`confMBINDIR',`%%PREFIX%%/sbin')
4
define(`confMBINDIR',`%%PREFIX%%/sbin')
5
define(`confSBINDIR',`%%PREFIX%%/sbin')
5
define(`confSBINDIR',`%%PREFIX%%/sbin')
6
define(`confUBINDIR',`%%PREFIX%%/bin')
6
define(`confUBINDIR',`%%PREFIX%%/bin')
7
define(`confCCOPTS',`-DCMDDIR="\"%%PREFIX%%/libexec/sm.bin\"" -DPATH="\"/bin:/usr/bin\""')
7
APPENDDEF(`confCCOPTS', `-DCMDDIR="\"%%PREFIX%%/libexec/sm.bin\""')
8
APPENDDEF(`confCCOPTS', `-DPATH="\"/bin:/usr/bin\""')
(-)sendmail-8.11.1/files/site.config.m4.pre4 (-1 / +2 lines)
Line 1 Link Here
1
define(`confCCOPTS',`-DCMDDIR="\"%%PREFIX%%/libexec/sm.bin\"" -DPATH="\"/bin:/usr/bin\""')
1
APPENDDEF(`confCCOPTS', `-DCMDDIR="\"%%PREFIX%%/libexec/sm.bin\""')
2
APPENDDEF(`confCCOPTS', `-DPATH="\"/bin:/usr/bin\""')

Return to bug 22619