Date: Sat, 3 Mar 2007 11:34:53 +0100 (CET) From: Martin Matuska <martin@matuska.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/109789: [MAINTAINER] benchmarks/postal 0.65 -> 0.66 Message-ID: <20070303103453.148E63F434@mail.vx.sk> Resent-Message-ID: <200703031040.l23Ae6VG045105@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109789 >Category: ports >Synopsis: [MAINTAINER] benchmarks/postal 0.65 -> 0.66 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Mar 03 10:40:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Martin Matuska >Release: FreeBSD 6.2-RELEASE >Organization: >Environment: FreeBSD 6.2-RELEASE i386 and amd64 >Description: Update of benchmarks/postal 0.65 -> 0.66 - port now honours CFLAGS, CPPFLAGS and LDFLAGS - PTHREAD_CFLAGS and PTHREAD_LIBS are implemented correctly portlint -A: no fatal errors Tinderbox log: http://tinderbox.vx.sk/logs/6.2-FreeBSD-amd64/postal-0.66.log Added files: files/patch-Makefile.in files/patch-configure >How-To-Repeat: >Fix: diff -Nbur benchmarks/postal.orig/Makefile benchmarks/postal/Makefile --- benchmarks/postal.orig/Makefile Tue Feb 6 18:06:07 2007 +++ benchmarks/postal/Makefile Fri Mar 2 14:49:27 2007 @@ -7,7 +7,7 @@ # PORTNAME= postal -PORTVERSION= 0.65 +PORTVERSION= 0.66 CATEGORIES= benchmarks mail MASTER_SITES= http://www.coker.com.au/postal/ EXTRACT_SUFX= .tgz @@ -24,9 +24,11 @@ MAN1= postal-list.1 MAN8= bhm.8 postal.8 rabid.8 -CONFIGURE_ARGS= --mandir=${MANPREFIX}/man +.include <bsd.port.pre.mk> -post-patch: - @${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure +CFLAGS+= ${PTHREAD_CFLAGS} +LDFLAGS+= ${PTHREAD_LIBS} +CONFIGURE_ARGS= --mandir=${MANPREFIX}/man --disable-gnutls +CONFIGURE_ENV+= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff -Nbur benchmarks/postal.orig/distinfo benchmarks/postal/distinfo --- benchmarks/postal.orig/distinfo Tue Feb 6 18:06:07 2007 +++ benchmarks/postal/distinfo Fri Mar 2 12:54:32 2007 @@ -1,3 +1,3 @@ -MD5 (postal-0.65.tgz) = b1466c62e191aa10fc5ffad49cec9f19 -SHA256 (postal-0.65.tgz) = 87dbc4eac98261b707ebacca25d3ed4e90b545826908585567e7b8c201a8411e -SIZE (postal-0.65.tgz) = 120745 +MD5 (postal-0.66.tgz) = 01ffeb413ec67c3ee42634bcbb1e1cb0 +SHA256 (postal-0.66.tgz) = 5e1aab4c5e2b05c28732918bdc7e30ab6092854bab161e439eab4ddc33e19db0 +SIZE (postal-0.66.tgz) = 100317 diff -Nbur benchmarks/postal.orig/files/patch-Makefile.in benchmarks/postal/files/patch-Makefile.in --- benchmarks/postal.orig/files/patch-Makefile.in Thu Jan 1 01:00:00 1970 +++ benchmarks/postal/files/patch-Makefile.in Fri Mar 2 14:10:37 2007 @@ -0,0 +1,11 @@ +--- Makefile.in.orig Fri Mar 2 14:08:50 2007 ++++ Makefile.in Fri Mar 2 14:08:43 2007 +@@ -16,7 +16,7 @@ + + TESTEXE=ex-test + BASEOBJS=userlist.o thread.o results.o address.o tcp.o cmd5.o mutex.o logit.o expand.o @extra_objs@ +-LFLAGS=-lstdc++ @extra_ldflags@ ++LFLAGS=$(LDFLAGS) -lstdc++ @extra_ldflags@ + + + ALLOBJS=$(BASEOBJS) smtp.o client.o basictcp.o bhmusers.o smtpserver.o diff -Nbur benchmarks/postal.orig/files/patch-configure benchmarks/postal/files/patch-configure --- benchmarks/postal.orig/files/patch-configure Thu Jan 1 01:00:00 1970 +++ benchmarks/postal/files/patch-configure Fri Mar 2 14:15:57 2007 @@ -0,0 +1,26 @@ +--- configure.orig Fri Mar 2 14:15:19 2007 ++++ configure Fri Mar 2 14:15:42 2007 +@@ -4558,7 +4558,6 @@ + linux_pthread="#define LINUX_PTHREAD" + fi + +-LDFLAGS=-lpthread + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -4597,13 +4596,13 @@ + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then +- extra_ldflags="$extra_ldflags -lpthread" ++ extra_ldflags="$extra_ldflags" + + else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +- extra_ldflags="$extra_ldflags -pthread" ++ extra_ldflags="$extra_ldflags" + fi + + rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070303103453.148E63F434>