aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-06-26 19:40:50 +0800
committersat <sat@FreeBSD.org>2007-06-26 19:40:50 +0800
commit53d670f43e67ec2f239988e2d49e754dafabd9ff (patch)
treee6d0bb853aa121e96eed0230f9f72aa4dffcfa95 /net-mgmt
parent48acb375b5e0a2bbf5d0d642b229892447023e05 (diff)
downloadfreebsd-ports-gnome-53d670f43e67ec2f239988e2d49e754dafabd9ff.tar.gz
freebsd-ports-gnome-53d670f43e67ec2f239988e2d49e754dafabd9ff.tar.zst
freebsd-ports-gnome-53d670f43e67ec2f239988e2d49e754dafabd9ff.zip
- Add use_{pgsql,sqlite} in addition to use_php={pgsql,sqlite}
Inspired by: pav
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/zabbix/Makefile2
-rw-r--r--net-mgmt/zabbix2/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/zabbix/Makefile b/net-mgmt/zabbix/Makefile
index 8c0de1b6237d..ff76b30d2c45 100644
--- a/net-mgmt/zabbix/Makefile
+++ b/net-mgmt/zabbix/Makefile
@@ -51,9 +51,11 @@ USE_MYSQL= yes
USE_PHP+= mysql
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}/bin/mysql_config
.elifdef WITH_PGSQL
+USE_PGSQL= yes
USE_PHP+= pgsql
CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}/bin/pg_config
.elifdef WITH_SQLITE
+USE_SQLITE= yes
USE_PHP+= sqlite
CONFIGURE_ARGS+=--with-sqlite=${LOCALBASE}
.else
diff --git a/net-mgmt/zabbix2/Makefile b/net-mgmt/zabbix2/Makefile
index 8c0de1b6237d..ff76b30d2c45 100644
--- a/net-mgmt/zabbix2/Makefile
+++ b/net-mgmt/zabbix2/Makefile
@@ -51,9 +51,11 @@ USE_MYSQL= yes
USE_PHP+= mysql
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}/bin/mysql_config
.elifdef WITH_PGSQL
+USE_PGSQL= yes
USE_PHP+= pgsql
CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}/bin/pg_config
.elifdef WITH_SQLITE
+USE_SQLITE= yes
USE_PHP+= sqlite
CONFIGURE_ARGS+=--with-sqlite=${LOCALBASE}
.else