summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-12-21 08:17:27 +0000
committerobache <obache@pkgsrc.org>2010-12-21 08:17:27 +0000
commit2347ca6c476adb84bc98eac8645fb7e58da327a7 (patch)
tree2182215528f426e446e6686f8c037d3e4cb2f1bc /www
parent9068c498e21b96fb47c119c5fa5c3b71c3761b16 (diff)
downloadpkgsrc-2347ca6c476adb84bc98eac8645fb7e58da327a7.tar.gz
Not to use BDB check in configure.
Fixes PR#44244.
Diffstat (limited to 'www')
-rw-r--r--www/crawl/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/crawl/Makefile b/www/crawl/Makefile
index b1a1f965260..b95ed2cb42f 100644
--- a/www/crawl/Makefile
+++ b/www/crawl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2010/02/16 18:11:52 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2010/12/21 08:17:27 obache Exp $
DISTNAME= crawl-0.4
PKGREVISION= 8
@@ -14,6 +14,11 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_DB185= yes
+# BDB detection is not sufficient, specify manually instead.
+CONFIGURE_ARGS+= --with-db=yes
+CONFIGURE_ENV+= DBLIB=${BDB_LIBS:Q}
+CPPFLAGS+= -DHAVE_DB_185_H
+
CONF_FILES= ${PREFIX}/share/examples/crawl/crawl.conf ${PKG_SYSCONFDIR}/crawl.conf
INSTALLATION_DIRS+= share/examples/crawl