From 8600a14cc326228507137b07246bf8bf49d33838 Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Mon, 18 Dec 2006 15:15:00 +0000 Subject: [PATCH] - utilize USE_BDB --- www/crawl/Makefile | 8 ++++---- 1 file 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 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)