From 703a16b94eb23335d392fd57fd871228e844c9df Mon Sep 17 00:00:00 2001 From: edwin Date: Wed, 18 Jan 2006 10:29:26 +0000 Subject: [patch] misc/tinderbox shouldn't allow no database to be selected PR: ports/91943 Submitted by: Vasil Dimov Approved by: edwin@mavetju.org --- ports-mgmt/tinderbox/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ports-mgmt/tinderbox') diff --git a/ports-mgmt/tinderbox/Makefile b/ports-mgmt/tinderbox/Makefile index 250e373..a6dc44d 100644 --- a/ports-mgmt/tinderbox/Makefile +++ b/ports-mgmt/tinderbox/Makefile @@ -29,6 +29,10 @@ PKGMESSAGE= ${WRKDIR}/pkg-message .include +.if !defined(WITH_PGSQL) && !defined(WITH_MYSQL) +BROKEN= "Tinderbox is useless without a database. Please (re)run 'make config' and choose one of PGSQL and MYSQL" +.endif + .if defined(WITH_PGSQL) USE_PGSQL= yes USE_PHP+= pgsql -- cgit v1.1