diff options
author | flz <flz@FreeBSD.org> | 2006-01-22 21:26:41 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2006-01-22 21:26:41 +0800 |
commit | 36a7aa96786a50a14915f2943adbee2b5997a202 (patch) | |
tree | bc2b4296cf452b409065ed390a5f932bf755a471 /mail | |
parent | efce5ae2dcb86e41375756bfdcb4a5772541398e (diff) | |
download | freebsd-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/Makefile | 7 |
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: |