Regression suite is Tcl-based, so enable if we build with Tcl support.
Thanks heko@
This commit is contained in:
parent
201e10eb09
commit
abb76feadb
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.30 2002/07/28 02:11:37 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.31 2002/10/30 00:35:33 naddy Exp $
|
||||
|
||||
COMMENT= "Berkeley DB package, revision 3"
|
||||
|
||||
@ -45,8 +45,14 @@ LIB_DEPENDS+= tcl83.1.3::lang/tcl/${TCL_VERSION}
|
||||
CFLAGS+=-I${LOCALBASE}/include/tcl${TCL_VERSION}
|
||||
CONFIGURE_ARGS+= --enable-tcl
|
||||
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl${TCL_VERSION}
|
||||
# Regression suite requires Tcl.
|
||||
CONFIGURE_ARGS+= --enable-test
|
||||
|
||||
do-regress:
|
||||
@cd ${WRKBUILD}; tclsh${TCL_VERSION} ${FILESDIR}/regress.tcl
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-tcl
|
||||
NO_REGRESS= Yes
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
|
4
databases/db/files/regress.tcl
Normal file
4
databases/db/files/regress.tcl
Normal file
@ -0,0 +1,4 @@
|
||||
# $OpenBSD: regress.tcl,v 1.1 2002/10/30 00:35:33 naddy Exp $
|
||||
|
||||
source ../test/test.tcl
|
||||
run_all
|
Loading…
Reference in New Issue
Block a user