ports/64123: Update port: databases/qdbm to 1.8.4 (supersedes ports/64037)

Kimura Fuyuki fuyuki at nigredo.org
Thu Mar 11 23:50:23 UTC 2004


>Number:         64123
>Category:       ports
>Synopsis:       Update port: databases/qdbm to 1.8.4 (supersedes ports/64037)
>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:   Thu Mar 11 15:50:22 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 5.2.1-RELEASE-p1 i386
>Organization:
>Environment:

  FreeBSD ns.nigredo.org 5.2.1-RELEASE-p1 i386

>Description:
- Update to 1.8.4
- Experimental support for --enable-pthread
- Use MASTER_SITE_SOURCEFORGE_EXTENDED
- Move self-tests to post-build (ports/64037)

>How-To-Repeat:

>Fix:
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	11 Mar 2004 23:12:15 -0000
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	qdbm
-PORTVERSION=	1.8.2
+PORTVERSION=	1.8.4
 CATEGORIES=	databases
 MASTER_SITES=	http://qdbm.sourceforge.net/ \
-		${MASTER_SITE_SOURCEFORGE}
+		${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	fuyuki at 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	11 Mar 2004 23:08:55 -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.4.tar.gz) = 818641b3158c65d02566b4232e3d2644
+SIZE (qdbm-1.8.4.tar.gz) = 724625

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list