aboutsummaryrefslogtreecommitdiff
path: root/mail/sendmail-old/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-04-15 19:32:45 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-04-15 19:32:45 +0000
commitc6a5a6641d170d86a1d4bfc00736576cc9195fff (patch)
treeea6d147b3840a3194cf67d5027d4e146e68e6b09 /mail/sendmail-old/Makefile
parente8cf14265657d9da9406dfea46e35d1374b3829d (diff)
downloadports-c6a5a6641d170d86a1d4bfc00736576cc9195fff.tar.gz
ports-c6a5a6641d170d86a1d4bfc00736576cc9195fff.zip
Notes
Diffstat (limited to 'mail/sendmail-old/Makefile')
-rw-r--r--mail/sendmail-old/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile
index 0c1bdcb9e74a..ff0ba8ac9a42 100644
--- a/mail/sendmail-old/Makefile
+++ b/mail/sendmail-old/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)