diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-05-13 15:13:39 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-05-13 15:13:39 +0800 |
commit | 2189f9c97e0c9e1971caa96e8c459e03584013bc (patch) | |
tree | 7013bc5c946b0778cda8b7f02d1de7b52c412a20 /mail/sendmail812 | |
parent | f8f022670e3cd76f3a79ad9a20bcde71031357bc (diff) | |
download | freebsd-ports-gnome-2189f9c97e0c9e1971caa96e8c459e03584013bc.tar.gz freebsd-ports-gnome-2189f9c97e0c9e1971caa96e8c459e03584013bc.tar.zst freebsd-ports-gnome-2189f9c97e0c9e1971caa96e8c459e03584013bc.zip |
- Change Order of Options,hope its better readable now.
- LDAP Support shall work in old and new versions now.
Diffstat (limited to 'mail/sendmail812')
-rw-r--r-- | mail/sendmail812/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile index 398c22bfe85c..b166cdcc31db 100644 --- a/mail/sendmail812/Makefile +++ b/mail/sendmail812/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 |