diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-02-17 20:22:23 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-02-17 20:22:23 +0000 |
commit | 9329fd34a9c94761cd9713e81c6dc397af123ba3 (patch) | |
tree | f1c17c1581635b0bc5082391b40ec865a475675b /mail | |
parent | Add missing dependency (diff) |
- Build milter with -D_THREAD_SAFE
- Use PTHREAD_LIBS, so build under CURRENT should use -lc_r
Submitted by: gshapiro
Notes
Notes:
svn path=/head/; revision=54827
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sendmail/Makefile | 4 | ||||
-rw-r--r-- | mail/sendmail/files/patch-FreeBSD | 2 | ||||
-rw-r--r-- | mail/sendmail812/Makefile | 4 | ||||
-rw-r--r-- | mail/sendmail812/files/patch-FreeBSD | 2 |
4 files changed, 8 insertions, 4 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index 4e31f257b129..7621846fa8cd 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/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/sendmail/files/patch-FreeBSD b/mail/sendmail/files/patch-FreeBSD index 45ef0216ca9e..a733ccdd1594 100644 --- a/mail/sendmail/files/patch-FreeBSD +++ b/mail/sendmail/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') 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') |