aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-18 10:29:26 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-18 10:29:26 +0000
commit69a333dfd30085e602590bdee2125b37e5dfe50f (patch)
tree8f8c35c4090b29373b6269c3c99e9c89f2441cb0 /ports-mgmt
parent386493496e1d0cd61e597b50b8ea0a765eba182b (diff)
downloadports-69a333dfd30085e602590bdee2125b37e5dfe50f.tar.gz
ports-69a333dfd30085e602590bdee2125b37e5dfe50f.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/tinderbox-devel/Makefile4
-rw-r--r--ports-mgmt/tinderbox/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/ports-mgmt/tinderbox-devel/Makefile b/ports-mgmt/tinderbox-devel/Makefile
index 250e373b34bd..a6dc44d731a4 100644
--- a/ports-mgmt/tinderbox-devel/Makefile
+++ b/ports-mgmt/tinderbox-devel/Makefile
@@ -29,6 +29,10 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
+.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
diff --git a/ports-mgmt/tinderbox/Makefile b/ports-mgmt/tinderbox/Makefile
index 250e373b34bd..a6dc44d731a4 100644
--- a/ports-mgmt/tinderbox/Makefile
+++ b/ports-mgmt/tinderbox/Makefile
@@ -29,6 +29,10 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
+.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