openbsd-ports/net/crawl/patches/patch-configure

26 lines
912 B
Plaintext

$OpenBSD: patch-configure,v 1.5 2004/04/16 15:06:48 naddy Exp $
--- configure.orig Sun May 18 03:50:55 2003
+++ configure Fri Apr 16 17:02:14 2004
@@ -2616,8 +2616,8 @@
DBINC="-I$withval/dist"
DBLIB="-L$withval/dist -ldb"
- elif test -f $withval/include/db_185.h -a \
- -f $withval/lib/libdb.a; then
+ elif test -f $withval/include/db/db_185.h -a \
+ -f $withval/lib/db/libdb.a; then
owd=`pwd`
if cd $withval; then withval=`pwd`; cd $owd; fi
@@ -2625,8 +2625,8 @@
#define HAVE_DB_185_H 1
_ACEOF
- DBINC="-I$withval/include"
- DBLIB="-L$withval/lib -ldb"
+ DBINC="-I$withval/include/db"
+ DBLIB="-L$withval/lib/db -ldb"
else
{ { echo "$as_me:$LINENO: error: db_185.h or libdb.a not found in $withval or not configured with --enable-compat185" >&5
echo "$as_me: error: db_185.h or libdb.a not found in $withval or not configured with --enable-compat185" >&2;}