ports/65029: upgrade DCC to version 1.2.39
PieterB
pieterb at gewis.nl
Thu Apr 1 09:50:19 UTC 2004
>Number: 65029
>Category: ports
>Synopsis: upgrade DCC to version 1.2.39
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 01 01:50:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: PieterB
>Release: FreeBSD 5.2.1-RELEASE i386
>Organization:
GEWIS
>Environment:
System: FreeBSD gewis.win.tue.nl 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Sat Mar 27 17:10:48 GMT 2004
>Description:
Upgrade of DCC to new version. I tried incorporating
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/63533
but didn't manage to get it working correctly.
dcc has removed --prefix from configure from version 1.2.33
Please review my patch, because I don't have much FreeBSD ports/dcc
experience
>How-To-Repeat:
>Fix:
--- Makefile.org Thu Apr 1 11:34:38 2004
+++ Makefile Thu Apr 1 11:34:38 2004
@@ -6,7 +6,7 @@
#
PORTNAME= dcc-dccd
-PORTVERSION= 1.2.28
+PORTVERSION= 1.2.39
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.rhyolite.com/anti-spam/dcc/source/ \
@@ -19,7 +19,7 @@
USE_REINPLACE= yes
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}/dcc
+#CONFIGURE_ARGS= --prefix=${PREFIX}/dcc
MANCOMPRESSED= yes
MAN8= cdcc.8 dcc.8 dccd.8 \
dccm.8 dccproc.8 dccsight.8 \
@@ -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
+#post-patch:
+# ${FIND} ${WRKSRC} -type f -exec \
+# ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' {} \;
+# ${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>
--- distinfo.org Thu Apr 1 11:34:38 2004
+++ distinfo Thu Apr 1 11:34:38 2004
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list