aboutsummaryrefslogtreecommitdiff
path: root/www/crawl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/crawl/Makefile')
-rw-r--r--www/crawl/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/crawl/Makefile b/www/crawl/Makefile
index 3bd125a1e465..1380db624b42 100644
--- a/www/crawl/Makefile
+++ b/www/crawl/Makefile
@@ -14,9 +14,9 @@ MASTER_SITES= http://www.monkey.org/~provos/
MAINTAINER= ports@FreeBSD.org
COMMENT= A small, efficient web crawler with advanced features
-LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3 \
- event-1.2a:${PORTSDIR}/devel/libevent
+LIB_DEPENDS= event-1.2a:${PORTSDIR}/devel/libevent
+USE_BDB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --program-transform-name=''
@@ -25,8 +25,8 @@ MAN1= crawl.1
.include <bsd.port.pre.mk>
post-patch:
- @${REINPLACE_CMD} -e 's,/usr/include/db2,${LOCALBASE}/include/db3,g' \
- -e 's,db2,db3,g' ${WRKSRC}/configure.in
+ @${REINPLACE_CMD} -e 's,/usr/include/db2,${BDB_INCLUDE_DIR},g' \
+ -e 's,db2,${BDB_LIB_NAME},g' ${WRKSRC}/configure.in
post-install:
.if !defined(NOPORTDOCS)