diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-04-15 19:32:45 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-04-15 19:32:45 +0000 |
commit | f7a607477a129f5606c4f3fa7811cc462c3fb0b2 (patch) | |
tree | 92f5297b079f9d4ec3777aebec11fcbe97e7090d /mail/sendmail811 | |
parent | 7d3623cceb2755ee086d833f01d5d318ae255bf8 (diff) | |
download | FreeBSD-ports-f7a607477a129f5606c4f3fa7811cc462c3fb0b2.zip FreeBSD-ports-f7a607477a129f5606c4f3fa7811cc462c3fb0b2.tar.gz |
- allow "," in CFLAGS
- SENDMAIL_WITH_TLS now supports openssl in ports for > 4.1
Diffstat (limited to 'mail/sendmail811')
-rw-r--r-- | mail/sendmail811/Makefile | 17 | ||||
-rw-r--r-- | mail/sendmail811/files/site.config.m4.ssl | 2 |
2 files changed, 9 insertions, 10 deletions
diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile index 0c1bdcb..ff0ba8a 100644 --- a/mail/sendmail811/Makefile +++ b/mail/sendmail811/Makefile @@ -62,12 +62,6 @@ SITE+= ${FILESDIR}/site.config.m4.ipv6 .if defined(SENDMAIL_WITH_SFIO) SITE+= ${FILESDIR}/site.config.m4.sfio .endif -.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS) -.if ! exists(${DESTDIR}/etc/mail/mailer.conf) -SITE+= ${FILESDIR}/site.config.m4.ssl -.endif -SITE+= ${FILESDIR}/site.config.m4.tls -.endif .if defined(SENDMAIL_WITH_SASL) SITE+= ${FILESDIR}/site.config.m4.sasl .endif @@ -88,11 +82,12 @@ SENDMAIL= ${PREFIX}/sbin/sendmail do-configure: @${MV} ${WRKSRC}/devtools/OS/FreeBSD ${WRKSRC}/devtools/OS/FreeBSD.sed - ${SED} -e "s,\`-pthread\',\`${PTHREAD_LIBS}\'," \ - -e "s,\`-O\',\`${CFLAGS}\'," \ + ${SED} -e "s;\`-pthread\';\`${PTHREAD_LIBS}\';" \ + -e "s;\`-O\';\`${CFLAGS}\';" \ ${WRKSRC}/devtools/OS/FreeBSD.sed \ > ${WRKSRC}/devtools/OS/FreeBSD - ${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ + ${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \ + -e "s=%%LOCALBASE%%=${LOCALBASE}=g" \ ${SITE} > ${WCONF}/site.config.m4 .if ! defined(SENDMAIL_WITHOUT_MILTER) @@ -177,6 +172,10 @@ mailer.conf: .if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS) .include "${PORTSDIR}/security/openssl/bsd.openssl.mk" +.if ! defined(WITH_OPENSSL_BASE) +SITE+= ${FILESDIR}/site.config.m4.ssl +.endif +SITE+= ${FILESDIR}/site.config.m4.tls .endif .if exists(${FILESDIR}/site.config.m4.local) diff --git a/mail/sendmail811/files/site.config.m4.ssl b/mail/sendmail811/files/site.config.m4.ssl index 9e291b2..8010308 100644 --- a/mail/sendmail811/files/site.config.m4.ssl +++ b/mail/sendmail811/files/site.config.m4.ssl @@ -1,3 +1,3 @@ -APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib') +APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib' -rpath=%%LOCALBASE%%/lib ) APPENDDEF(`confINCDIRS', `-I%%LOCALBASE%%/include') APPENDDEF(`conf_sendmail_ENVDEF', `-DHASSRANDOMDEV') |