aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sendmail812
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-02-18 04:22:23 +0800
committerdinoex <dinoex@FreeBSD.org>2002-02-18 04:22:23 +0800
commitdcb121b7971fc3fc21dbb53e3d3f08c9d9e4ee96 (patch)
tree190e1cc71ead9a6f17db2ba2766bfba4824af519 /mail/sendmail812
parent4bde9678e2848f404503aac461b5be2a0e7b621b (diff)
downloadfreebsd-ports-gnome-dcb121b7971fc3fc21dbb53e3d3f08c9d9e4ee96.tar.gz
freebsd-ports-gnome-dcb121b7971fc3fc21dbb53e3d3f08c9d9e4ee96.tar.zst
freebsd-ports-gnome-dcb121b7971fc3fc21dbb53e3d3f08c9d9e4ee96.zip
- Build milter with -D_THREAD_SAFE
- Use PTHREAD_LIBS, so build under CURRENT should use -lc_r Submitted by: gshapiro
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')