1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

- Update to 1.2.39

- Fix linking with threading libraries

PR:		ports/65029, ports/63533
Submitted by:	PieterB <pieterb@gewis.nl>, Craig Rodrigues <rodrigc@crodrigues.org>
Approved by:	maintainer timeout on ports/63533 (1 month)
This commit is contained in:
Pav Lucistnik 2004-04-03 22:56:35 +00:00
parent 875114dcc7
commit 67c31d210d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106076
3 changed files with 8 additions and 17 deletions

View File

@ -6,12 +6,9 @@
#
PORTNAME= dcc-dccd
PORTVERSION= 1.2.28
PORTREVISION= 1
PORTVERSION= 1.2.39
CATEGORIES= mail
MASTER_SITES= http://www.rhyolite.com/anti-spam/dcc/source/ \
http://www.wa.apana.org.au/~dean/sources/ \
ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
MASTER_SITES= http://www.rhyolite.com/anti-spam/dcc/source/old/
EXTRACT_SUFX= .tar.Z
MAINTAINER= dean@odyssey.apana.org.au
@ -19,7 +16,7 @@ COMMENT= Distributed Checksum Clearinghouse procmail, sendmail support
USE_REINPLACE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}/dcc
CONFIGURE_ARGS= --homedir=${PREFIX}/dcc
MANCOMPRESSED= yes
MAN8= cdcc.8 dcc.8 dccd.8 \
dccm.8 dccproc.8 dccsight.8 \
@ -34,14 +31,11 @@ PLIST_SUB+= WITH_SENDMAIL="@comment "
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502102
FORBIDDEN= "Links against conflicting thread libraries"
.endif
post-patch:
${FIND} ${WRKSRC} -type f -exec \
${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' {} \;
${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g' \
${WRKSRC}/configure
${REINPLACE_CMD} -e 's,PTHREAD_LDFLAGS="$$PTHREAD_LDFLAGS -pthread,PTHREAD_LDFLAGS="$$PTHREAD_LDFLAGS,g' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's,FreeBSD)\n\tPTHREAD_LDFLAGS,FreeBSD)\n\tDCC_CFLAGS="${PTHREAD_CFLAGS} $$DCC_CFLAGS"\n\tPTHREAD_LDFLAGS,g' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's,PTHREAD_LIBS="$$PTHREAD_LIBS -lc_r,PTHREAD_LIBS=" ${PTHREAD_LIBS},g' ${WRKSRC}/configure
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
MD5 (dcc-dccd-1.2.28.tar.Z) = 10a8402de107e81a028664cf4b93ec97
SIZE (dcc-dccd-1.2.28.tar.Z) = 1221437
MD5 (dcc-dccd-1.2.39.tar.Z) = d875eb9cb1334833eb24fdcdde6f66d7
SIZE (dcc-dccd-1.2.39.tar.Z) = 1163292

View File

@ -13,11 +13,8 @@ dcc/libexec/wlist
dcc/libexec/cron-dccd
dcc/libexec/hackmc
dcc/libexec/logger
dcc/libexec/na-spam
dcc/libexec/ng-spam
dcc/libexec/newwebuser
dcc/libexec/rcDCC
dcc/libexec/refeed
dcc/libexec/start-dccd
dcc/libexec/start-grey
dcc/libexec/start-dccifd