aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-05-31 03:24:01 +0800
committercrees <crees@FreeBSD.org>2012-05-31 03:24:01 +0800
commitd585dc861c128b55a1f814c78c2f8d70204bd14d (patch)
treef51af16e718cda3b314c37ca3a107c62e6e90ac8 /databases
parent1fbc22e1266a595f6c8167b0ec8eff37fa61b492 (diff)
downloadfreebsd-ports-gnome-d585dc861c128b55a1f814c78c2f8d70204bd14d.tar.gz
freebsd-ports-gnome-d585dc861c128b55a1f814c78c2f8d70204bd14d.tar.zst
freebsd-ports-gnome-d585dc861c128b55a1f814c78c2f8d70204bd14d.zip
OPTIONSngify
Notice that the ability to specify 0 or 1 from a list is achieved in opentracker by adding a third option, ACCESSLIST_OPEN which effectively does nothing (for openradius, use bsd.port.options.mk)
Diffstat (limited to 'databases')
-rw-r--r--databases/vfront/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/vfront/Makefile b/databases/vfront/Makefile
index 609f22c23e9e..b35583e81c6d 100644
--- a/databases/vfront/Makefile
+++ b/databases/vfront/Makefile
@@ -20,17 +20,17 @@ PLIST= ${WRKDIR}/pkg-plist
USE_PHP= yes
-OPTIONS+= MYSQL "Use MySQL databases" off
-OPTIONS+= PGSQL "Use PostgreSQL databases" off
+OPTIONS_MULTI= database
+OPTIONS_MULTI_database= MYSQL PGSQL
.include <bsd.port.options.mk>
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
USE_PHP+= mysqli
USE_MYSQL= yes
.endif
-.if defined(WITH_PGSQL)
+.if ${PORT_OPTIONS:MPGSQL}
USE_PHP+= pgsql
USE_PGSQL= yes
.endif