ports/98991: [MAINTAINER] fastresolve (update)

Martin Matuska martin at matuska.org
Thu Jun 15 21:00:42 UTC 2006


>Number:         98991
>Category:       ports
>Synopsis:       [MAINTAINER] fastresolve (update)
>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 Jun 15 21:00:40 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 6.1-RELEASE-p1 i386 amd64
>Organization:
>Environment:
System: FreeBSD 6.1-RELEASE-p1
>Description:
	Update of BDB knobs, supports BDB ver. 4.4
>How-To-Repeat:
>Fix:


--- dns/fastresolve/Makefile.orig	Thu Jun 15 22:48:35 2006
+++ dns/fastresolve/Makefile	Thu Jun 15 22:53:39 2006
@@ -7,7 +7,7 @@
 
 PORTNAME=	fastresolve
 PORTVERSION=	2.10
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	dns
 MASTER_SITES=	http://www.djmnet.org/sw/dist/
 
@@ -25,27 +25,8 @@
 		PERL=${PERL}
 USE_AUTOTOOLS=	automake:14 autoconf:213
 
-# Default to db3
-WITH_BDB_VER?=	3
-
-.if ${WITH_BDB_VER} == 3
-LIB_DEPENDS+=	db3.3:${PORTSDIR}/databases/db3
-CONFIGURE_ARGS=	--with-bdb-lib=-ldb3_cxx --with-bdb-incdir=${LOCALBASE}/include/db3
-.elif ${WITH_BDB_VER} == 4
-LIB_DEPENDS+=	db4.0:${PORTSDIR}/databases/db4
-CONFIGURE_ARGS=	--with-bdb-lib=-ldb4_cxx --with-bdb-incdir=${LOCALBASE}/include/db4
-.elif ${WITH_BDB_VER} == 41
-LIB_DEPENDS+=	db41.1:${PORTSDIR}/databases/db41
-CONFIGURE_ARGS=	--with-bdb-lib=-ldb41_cxx --with-bdb-incdir=${LOCALBASE}/include/db41
-.elif ${WITH_BDB_VER} == 42
-LIB_DEPENDS+=	db-4.2:${PORTSDIR}/databases/db42
-CONFIGURE_ARGS=	--with-bdb-lib=-ldb_cxx-4.2 --with-bdb-incdir=${LOCALBASE}/include/db42
-.elif ${WITH_BDB_VER} == 43
-LIB_DEPENDS+=	db-4.3:${PORTSDIR}/databases/db43
-CONFIGURE_ARGS=	--with-bdb-lib=-ldb_cxx-4.3 --with-bdb-incdir=${LOCALBASE}/include/db43
-.else
-IGNORE=	cannot install: WITH_BDB_VER must be one of 3, 4, 41, 42 or 43
-.endif
+USE_BDB=	yes
+CONFIGURE_ARGS=	--with-bdb-lib=-l${BDB_LIB_CXX_NAME} --with-bdb-incdir=${BDB_INCLUDE_DIR}
 
 MAN1=	dns-terror.1 btree-dump.1 convert-dom-db.1 convert-ip-db.1 \
 	expire-ip-db.1 getdominfo.1 rebuild-dom-db.1 rebuild-ip-db.1 \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list