aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2006-01-22 21:26:41 +0800
committerflz <flz@FreeBSD.org>2006-01-22 21:26:41 +0800
commit36a7aa96786a50a14915f2943adbee2b5997a202 (patch)
treebc2b4296cf452b409065ed390a5f932bf755a471 /mail
parentefce5ae2dcb86e41375756bfdcb4a5772541398e (diff)
downloadfreebsd-ports-gnome-36a7aa96786a50a14915f2943adbee2b5997a202.tar.gz
freebsd-ports-gnome-36a7aa96786a50a14915f2943adbee2b5997a202.tar.zst
freebsd-ports-gnome-36a7aa96786a50a14915f2943adbee2b5997a202.zip
- Add checks to make sure a database backend has been chosen.
- Fix INDEX build when WITHOUT_MYSQL is defined. Reported by: kris
Diffstat (limited to 'mail')
-rw-r--r--mail/roundcube/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile
index cb95d9b18462..f9ad81182392 100644
--- a/mail/roundcube/Makefile
+++ b/mail/roundcube/Makefile
@@ -45,6 +45,10 @@ OPTIONS+= SQLITE "Use SQLite backend" off
.include <bsd.port.pre.mk>
+.if defined(WITHOUT_MYSQL) && !defined(WITH_PGSQL) && !defined(WITH_SQLITE)
+IGNORE= needs a database backend
+.endif
+
.if !defined(WITHOUT_MYSQL)
USE_PHP+= mysql
.endif
@@ -57,6 +61,9 @@ USE_PHP+= pgsql
USE_PHP+= sqlite
.endif
+# Avoid INDEX breakage when WITHOUT_MYSQL is defined.
+USE_PHP?= yes
+
.include "${PORTSDIR}/Mk/bsd.php.mk"
do-install: