# $OpenBSD: Setup.bsddb,v 1.2 2004/12/30 23:45:08 alek Exp $

@NOSHARED@*shared*

# Sleepycat Berkeley DB interface.
#
# This requires the Sleepycat DB code, see http://www.sleepycat.com/
# The earliest supported version of that library is 3.0, the latest
# supported version is 4.0 (4.1 is specifically not supported, as that
# changes the semantics of transactional databases). A list of available
# releases can be found at
#
# http://www.sleepycat.com/update/index.html
#
# Edit the variables DB and DBLIBVERto point to the db top directory
# and the subdirectory of PORT where you built it.
#DB=/usr/local/BerkeleyDB.4.0
#DBLIBVER=4.0
#DBINC=$(DB)/include
#DBLIB=$(DB)/lib
_bsddb _bsddb.c -I${LOCALBASE}/include/db4 -L${LOCALBASE}/lib/db4 -ldb
