aboutsummaryrefslogtreecommitdiff
path: root/mail/sendmail811
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-05-13 07:13:39 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-05-13 07:13:39 +0000
commit644a4ebe1d8791c61483476c72a4f2c222f2d455 (patch)
tree291dd46ae2cbd28ddd1d3837b0180000c21398fd /mail/sendmail811
parent31410083ce33ada62f76429b710d602d248050b3 (diff)
downloadports-644a4ebe1d8791c61483476c72a4f2c222f2d455.tar.gz
ports-644a4ebe1d8791c61483476c72a4f2c222f2d455.zip
Notes
Diffstat (limited to 'mail/sendmail811')
-rw-r--r--mail/sendmail811/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile
index 398c22bfe85c..b166cdcc31db 100644
--- a/mail/sendmail811/Makefile
+++ b/mail/sendmail811/Makefile
@@ -47,9 +47,6 @@ LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2
pre-configure:
${SED} -e "s=%%PREFIX%%=${PREFIX}=" \
${FILESDIR}/site.config.m4 > ${WCONF}/site.config.m4
-.if defined(SENDMAIL_WITH_TLS)
- ${CAT} ${FILESDIR}/site.config.m4.tls >> ${WCONF}/site.config.m4
-.endif
.if defined(SENDMAIL_WITH_SASL)
${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \
${FILESDIR}/site.config.m4.sasl >>${WCONF}/site.config.m4
@@ -66,6 +63,10 @@ pre-configure:
${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \
${FILESDIR}/site.config.m4.ssl >> ${WCONF}/site.config.m4
.endif
+.endif
+.if defined(SENDMAIL_WITH_TLS)
+ ${CAT} ${FILESDIR}/site.config.m4.tls >> ${WCONF}/site.config.m4
+.endif
.if defined(SENDMAIL_WITH_LDAP)
${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \
${FILESDIR}/site.config.m4.ldap >> ${WCONF}/site.config.m4
@@ -75,10 +76,10 @@ pre-configure:
${FILESDIR}/site.config.m4.local >> ${WCONF}/site.config.m4
.endif
+.if ! exists(${DESTDIR}/etc/mail/mailer.conf)
PREFIX?= ${DESTDIR}/usr
MANPREFIX?= ${DESTDIR}/usr/share
.endif
-
PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==}
SENDMAIL= ${PREFIX}/sbin/sendmail