Date: Wed, 10 Mar 2004 13:00:35 -0800 (PST) From: Kimura Fuyuki <fuyuki@nigredo.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/64037: [PATCH] databases/qdbm: always run self-test, minor other fix Message-ID: <200403102100.i2AL0Zxv045546@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/64037; it has been noted by GNATS. From: Kimura Fuyuki <fuyuki@nigredo.org> To: krion@FreeBSD.org, fuyuki@nigredo.org, FreeBSD-gnats-submit@FreeBSD.org, kris@obsecurity.org Cc: Subject: Re: ports/64037: [PATCH] databases/qdbm: always run self-test, minor other fix Date: Thu, 11 Mar 2004 05:59:24 +0900 At Wed, 10 Mar 2004 17:05:03 +0100, Kirill Ponomarew <krion@FreeBSD.org> wrote: > > Could you please review this PR and approve/reject the changes? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/64037 Ok, I temporally move the contents of the test target to the post-build target, but don't replace ';' with '&&' since: http://lists.liquidneon.com/pipermail/kde-freebsd/2002-March/000940.html I also merged it with the update to 1.8.3. cvs diff: Diffing . Index: Makefile =================================================================== RCS file: /cvs/FreeBSD/ports/databases/qdbm/Makefile,v retrieving revision 1.16 diff -u -r1.16 Makefile --- Makefile 3 Mar 2004 20:35:05 -0000 1.16 +++ Makefile 10 Mar 2004 20:55:38 -0000 @@ -6,10 +6,10 @@ # PORTNAME= qdbm -PORTVERSION= 1.8.2 +PORTVERSION= 1.8.3 CATEGORIES= databases MASTER_SITES= http://qdbm.sourceforge.net/ \ - ${MASTER_SITE_SOURCEFORGE} +# ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= fuyuki@nigredo.org @@ -28,13 +28,24 @@ MLINKS= curia.3 cropen.3 depot.3 dpopen.3 \ odeum.3 odopen.3 villa.3 vlopen.3 villa.3 vista.3 +OPTIONS= PTHREAD "Enable pthread support !! USE IT WITH CARE !!" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_PTHREAD) +USE_REINPLACE= yes +CONFIGURE_ARGS+= --enable-pthread +CFLAGS+= ${PTHREAD_CFLAGS} + +post-patch: + ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure +.endif + post-build: cd ${WRKSRC}/lab; ${MAKE} CC="${CC}" CFLAGS="${CFLAGS}" fmtcnv031127 + cd ${WRKSRC}; ${MAKE} check post-install: ${INSTALL_PROGRAM} ${WRKSRC}/lab/fmtcnv031127 ${PREFIX}/bin -test: - cd ${WRKSRC}; ${MAKE} check - -.include <bsd.port.mk> +.include <bsd.port.post.mk> Index: distinfo =================================================================== RCS file: /cvs/FreeBSD/ports/databases/qdbm/distinfo,v retrieving revision 1.16 diff -u -r1.16 distinfo --- distinfo 3 Mar 2004 20:35:05 -0000 1.16 +++ distinfo 9 Mar 2004 01:41:29 -0000 @@ -1,2 +1,2 @@ -MD5 (qdbm-1.8.2.tar.gz) = c47c700b3c15ce4e6efdb1c13e9e8d93 -SIZE (qdbm-1.8.2.tar.gz) = 719983 +MD5 (qdbm-1.8.3.tar.gz) = cce6509285807b1f4bcc2d2029f8e43a +SIZE (qdbm-1.8.3.tar.gz) = 721962
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403102100.i2AL0Zxv045546>