diff --git a/databases/node-pg/Makefile b/databases/node-pg/Makefile index 9ea3700cd3f..039005ac01a 100644 --- a/databases/node-pg/Makefile +++ b/databases/node-pg/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2012/05/09 06:39:04 jasper Exp $ +# $OpenBSD: Makefile,v 1.5 2012/05/10 08:41:39 jasper Exp $ COMMENT = postgresql client for nodejs @@ -29,4 +29,8 @@ LIB_DEPENDS = databases/postgresql RUN_DEPENDS = devel/node-generic-pool MODNODE_DEPENDS = generic-pool +# Must have a database setup running on localhost with +# user=postgres and password=1234 +REGRESS_TARGET = test-all + .include diff --git a/devel/node-fibers/Makefile b/devel/node-fibers/Makefile index b957229ee08..20baf23461d 100644 --- a/devel/node-fibers/Makefile +++ b/devel/node-fibers/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2012/05/09 06:39:04 jasper Exp $ +# $OpenBSD: Makefile,v 1.5 2012/05/10 08:41:39 jasper Exp $ # Currently node itself is only for amd64 and i386, but # the coroutine library this uses only works on amd64 @@ -30,6 +30,8 @@ CONFIGURE_STYLE = npm ext USE_GMAKE = Yes SUBST_VARS = CFLAGS +REGRESS_TARGET = test + pre-configure: ${SUBST_CMD} ${WRKDIST}/src/platform.mk diff --git a/devel/node-fibers/patches/patch-Makefile b/devel/node-fibers/patches/patch-Makefile new file mode 100644 index 00000000000..4f4b578b8c2 --- /dev/null +++ b/devel/node-fibers/patches/patch-Makefile @@ -0,0 +1,15 @@ +$OpenBSD: patch-Makefile,v 1.1 2012/05/10 08:41:39 jasper Exp $ + +Don't run tests as part of the normal build. + +--- Makefile.orig Thu May 10 09:54:35 2012 ++++ Makefile Thu May 10 09:54:48 2012 +@@ -1,7 +1,7 @@ + include src/platform.mk + FIBERS_SO := $(shell echo `pwd`/src/fibers.node) + +-all: fibers test ++all: fibers + + fibers: $(FIBERS_SO) + diff --git a/devel/node-generic-pool/Makefile b/devel/node-generic-pool/Makefile index ce0be07dc84..acdcb9ba411 100644 --- a/devel/node-generic-pool/Makefile +++ b/devel/node-generic-pool/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2012/05/09 06:39:04 jasper Exp $ +# $OpenBSD: Makefile,v 1.5 2012/05/10 08:41:39 jasper Exp $ COMMENT = generic resource pool for nodejs @@ -22,4 +22,7 @@ MODULES = www/node CONFIGURE_STYLE = npm +# needs expresso +NO_REGRESS = Yes + .include diff --git a/security/node-bcrypt/Makefile b/security/node-bcrypt/Makefile index 992436fa3c8..f0177128226 100644 --- a/security/node-bcrypt/Makefile +++ b/security/node-bcrypt/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2012/05/09 06:39:04 jasper Exp $ +# $OpenBSD: Makefile,v 1.5 2012/05/10 08:41:39 jasper Exp $ COMMENT = bcrypt hashing library for nodejs @@ -22,4 +22,7 @@ MODULES = www/node CONFIGURE_STYLE = npm ext +# needs nodeunit +NO_REGRESS = Yes + .include