aboutsummaryrefslogtreecommitdiff
path: root/mail/sendmail812
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-02-17 20:22:23 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-02-17 20:22:23 +0000
commit9329fd34a9c94761cd9713e81c6dc397af123ba3 (patch)
treef1c17c1581635b0bc5082391b40ec865a475675b /mail/sendmail812
parent21b9731f3dddddbac5d71e55e881a110bd8ac658 (diff)
Notes
Diffstat (limited to 'mail/sendmail812')
-rw-r--r--mail/sendmail812/Makefile4
-rw-r--r--mail/sendmail812/files/patch-FreeBSD2
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile
index 4e31f257b129..7621846fa8cd 100644
--- a/mail/sendmail812/Makefile
+++ b/mail/sendmail812/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sendmail
PORTVERSION= 8.12.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,}
@@ -86,6 +86,8 @@ post-extract:
> ${WRKSRC}/sm-client.sh
do-configure:
+ ${PERL} -pi -e "s,\`-pthread\',\`${PTHREAD_LIBS}\'," \
+ ${WRKSRC}/devtools/OS/FreeBSD
${PERL} -pi -e "s,\`-O\',\`${CFLAGS}\'," ${WRKSRC}/devtools/OS/FreeBSD
${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \
${SITE} > ${WCONF}/site.config.m4
diff --git a/mail/sendmail812/files/patch-FreeBSD b/mail/sendmail812/files/patch-FreeBSD
index 45ef0216ca9e..a733ccdd1594 100644
--- a/mail/sendmail812/files/patch-FreeBSD
+++ b/mail/sendmail812/files/patch-FreeBSD
@@ -3,6 +3,6 @@
@@ -5,4 +5,5 @@
define(`confLD', `cc')
define(`confMTLDOPTS', `-pthread')
-+define(`confMTCCOPTS', `-pthread')
++define(`confMTCCOPTS', `-D_THREAD_SAFE')
define(`confLDOPTS_SO', `-shared')
define(`confCCOPTS_SO', `-fPIC')