Date: Sun, 29 Feb 2004 11:41:43 -0500 (EST) From: Craig Rodrigues <rodrigc@crodrigues.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Andy Hilker <ah@crypta.net> Subject: ports/63533: mail/dcc-dccd, respect PTHREAD_LIBS Message-ID: <200402291641.i1TGfhYD029854@dibbler.crodrigues.org> Resent-Message-ID: <200402291650.i1TGoIH0046733@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63533 >Category: ports >Synopsis: mail/dcc-dccd, respect PTHREAD_LIBS >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Feb 29 08:50:17 PST 2004 >Closed-Date: >Last-Modified: >Originator: Craig Rodrigues >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD dibbler.crodrigues.org 5.2-CURRENT FreeBSD 5.2-CURRENT #37 >Description: This port currently does not respect PTHREAD_LIBS. This patch fixes it >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/dcc-dccd/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 29 Feb 2004 04:17:51 -0000 1.8 +++ Makefile 29 Feb 2004 16:38:00 -0000 @@ -6,7 +6,7 @@ # PORTNAME= dcc-dccd -PORTVERSION= 1.2.28 +PORTVERSION= 1.2.32 PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.rhyolite.com/anti-spam/dcc/source/ \ @@ -34,14 +34,11 @@ .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> Index: distinfo =================================================================== RCS file: /home/ncvs/ports/mail/dcc-dccd/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 24 Jan 2004 09:42:24 -0000 1.3 +++ distinfo 29 Feb 2004 16:38:00 -0000 @@ -1 +1,2 @@ -MD5 (dcc-dccd-1.2.28.tar.Z) = 10a8402de107e81a028664cf4b93ec97 +MD5 (dcc-dccd-1.2.32.tar.Z) = 7cb772a9f128ce79c23f5961e1954698 +SIZE (dcc-dccd-1.2.32.tar.Z) = 1137819 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402291641.i1TGfhYD029854>