Tue Dec 21 08:17:28 2010 UTC ()
Not to use BDB check in configure.
Fixes PR#44244.


(obache)
diff -r1.15 -r1.16 pkgsrc/www/crawl/Makefile

cvs diff -r1.15 -r1.16 pkgsrc/www/crawl/Makefile (expand / switch to unified diff)

--- pkgsrc/www/crawl/Makefile 2010/02/16 18:11:52 1.15
+++ pkgsrc/www/crawl/Makefile 2010/12/21 08:17:27 1.16
@@ -1,29 +1,34 @@ @@ -1,29 +1,34 @@
1# $NetBSD: Makefile,v 1.15 2010/02/16 18:11:52 joerg Exp $ 1# $NetBSD: Makefile,v 1.16 2010/12/21 08:17:27 obache Exp $
2 2
3DISTNAME= crawl-0.4 3DISTNAME= crawl-0.4
4PKGREVISION= 8 4PKGREVISION= 8
5CATEGORIES= www 5CATEGORIES= www
6MASTER_SITES= http://monkey.org/~provos/ 6MASTER_SITES= http://monkey.org/~provos/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://monkey.org/~provos/crawl/ 9HOMEPAGE= http://monkey.org/~provos/crawl/
10COMMENT= Small and efficient HTTP crawler 10COMMENT= Small and efficient HTTP crawler
11 11
12PKG_DESTDIR_SUPPORT= user-destdir 12PKG_DESTDIR_SUPPORT= user-destdir
13 13
14GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
15USE_DB185= yes 15USE_DB185= yes
16 16
 17# BDB detection is not sufficient, specify manually instead.
 18CONFIGURE_ARGS+= --with-db=yes
 19CONFIGURE_ENV+= DBLIB=${BDB_LIBS:Q}
 20CPPFLAGS+= -DHAVE_DB_185_H
 21
17CONF_FILES= ${PREFIX}/share/examples/crawl/crawl.conf ${PKG_SYSCONFDIR}/crawl.conf 22CONF_FILES= ${PREFIX}/share/examples/crawl/crawl.conf ${PKG_SYSCONFDIR}/crawl.conf
18 23
19INSTALLATION_DIRS+= share/examples/crawl 24INSTALLATION_DIRS+= share/examples/crawl
20 25
21post-install: 26post-install:
22 ${INSTALL_DATA} ${WRKSRC}/crawl.conf ${DESTDIR}${PREFIX}/share/examples/crawl/crawl.conf 27 ${INSTALL_DATA} ${WRKSRC}/crawl.conf ${DESTDIR}${PREFIX}/share/examples/crawl/crawl.conf
23 28
24SUBST_CLASSES+= path 29SUBST_CLASSES+= path
25SUBST_STAGE.path= post-patch 30SUBST_STAGE.path= post-patch
26SUBST_FILES.path= cfg.h 31SUBST_FILES.path= cfg.h
27SUBST_SED.path= -e 's,crawl.conf,${PKG_SYSCONFDIR}/crawl.conf,g' 32SUBST_SED.path= -e 's,crawl.conf,${PKG_SYSCONFDIR}/crawl.conf,g'
28SUBST_MESSAGE.path= Fixing hardcoded path. 33SUBST_MESSAGE.path= Fixing hardcoded path.
29 34