diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2001-05-13 07:13:39 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2001-05-13 07:13:39 +0000 |
commit | 644a4ebe1d8791c61483476c72a4f2c222f2d455 (patch) | |
tree | 291dd46ae2cbd28ddd1d3837b0180000c21398fd /mail/sendmail | |
parent | 31410083ce33ada62f76429b710d602d248050b3 (diff) | |
download | ports-644a4ebe1d8791c61483476c72a4f2c222f2d455.tar.gz ports-644a4ebe1d8791c61483476c72a4f2c222f2d455.zip |
- Change Order of Options,hope its better readable now.
- LDAP Support shall work in old and new versions now.
Notes
Notes:
svn path=/head/; revision=42559
Diffstat (limited to 'mail/sendmail')
-rw-r--r-- | mail/sendmail/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index 398c22bfe85c..b166cdcc31db 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/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 |