aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/devmon/Makefile8
-rw-r--r--net-mgmt/monitoring-plugins/Makefile2
-rw-r--r--net-mgmt/nagios-plugins/Makefile2
-rw-r--r--net-mgmt/netdot/Makefile3
-rw-r--r--net-mgmt/rackmonkey/Makefile2
-rw-r--r--net-mgmt/super_mediator/Makefile2
6 files changed, 7 insertions, 12 deletions
diff --git a/net-mgmt/devmon/Makefile b/net-mgmt/devmon/Makefile
index 62c269e7d3e7..c0e52e740b56 100644
--- a/net-mgmt/devmon/Makefile
+++ b/net-mgmt/devmon/Makefile
@@ -27,13 +27,9 @@ SUB_LIST= USERS=${USERS} \
OPTIONS_DEFINE= MYSQL DOCS
-REINPLACE_ARGS= -i ''
-
-.include <bsd.port.options.mk>
+MYSQL_USES= mysql
-.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL= yes
-.endif
+REINPLACE_ARGS= -i ''
post-patch:
@${REINPLACE_CMD} -e 's|/var/run/devmon.pid|/var/run/devmon/devmon.pid|g' ${WRKSRC}/devmon.cfg ${WRKSRC}/modules/dm_config.pm
diff --git a/net-mgmt/monitoring-plugins/Makefile b/net-mgmt/monitoring-plugins/Makefile
index f30635f68533..3f3b8daf5a33 100644
--- a/net-mgmt/monitoring-plugins/Makefile
+++ b/net-mgmt/monitoring-plugins/Makefile
@@ -94,7 +94,7 @@ NETSNMP_CONFIGURE_OFF= ac_cv_path_PATH_TO_SNMPGET= \
RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient
RADIUS_CONFIGURE_WITH= radius
-MYSQL_USE= mysql=yes
+MYSQL_USES= mysql
MYSQL_CONFIGURE_WITH= mysql=${LOCALBASE}
PGSQL_USES= pgsql
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile
index a0c9ac14b5ed..c49b2451109a 100644
--- a/net-mgmt/nagios-plugins/Makefile
+++ b/net-mgmt/nagios-plugins/Makefile
@@ -100,7 +100,7 @@ NETSNMP_CONFIGURE_OFF= ac_cv_path_PATH_TO_SNMPGET= \
RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient
RADIUS_CONFIGURE_WITH= radius
-MYSQL_USE= mysql=yes
+MYSQL_USES= mysql
MYSQL_CONFIGURE_WITH= mysql=${LOCALBASE}
PGSQL_USES= pgsql
diff --git a/net-mgmt/netdot/Makefile b/net-mgmt/netdot/Makefile
index 463f803ce8c5..794d968a9898 100644
--- a/net-mgmt/netdot/Makefile
+++ b/net-mgmt/netdot/Makefile
@@ -43,9 +43,8 @@ RUN_DEPENDS= p5-libapreq2>=0:www/p5-libapreq2 \
rrdtool:databases/rrdtool \
netdisco-mibs>=0:net-mgmt/netdisco-mibs
-USES= gmake perl5 shebangfix
+USES= gmake mysql perl5 shebangfix
NO_BUILD= yes
-USE_MYSQL= yes
SUB_FILES= pkg-message pkg-install
SUB_LIST= WWWDIR="${WWWDIR}" \
diff --git a/net-mgmt/rackmonkey/Makefile b/net-mgmt/rackmonkey/Makefile
index 4226f46fe0bb..a7d410cd300c 100644
--- a/net-mgmt/rackmonkey/Makefile
+++ b/net-mgmt/rackmonkey/Makefile
@@ -40,7 +40,7 @@ USES+= sqlite
RUN_DEPENDS+= p5-DBD-SQLite>=0:databases/p5-DBD-SQLite
.endif
.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL= yes
+USES+= mysql
RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql
.endif
.if ${PORT_OPTIONS:MPGSQL}
diff --git a/net-mgmt/super_mediator/Makefile b/net-mgmt/super_mediator/Makefile
index 38c0211b68c3..1df2010820cb 100644
--- a/net-mgmt/super_mediator/Makefile
+++ b/net-mgmt/super_mediator/Makefile
@@ -34,7 +34,7 @@ SKIPSET_LIB_DEPENDS= libsilk.so:security/silktools
SPREAD_LIB_DEPENDS= libspread.so:net/spread4
MYSQL_LIB_DEPENDS= libmysqlclient.so:${_MYSQL_CLIENT}
-MYSQL_USE= mysql
+MYSQL_USES= mysql
MYSQL_CONFIGURE_WITH= mysql
SKIPSET_CONFIGURE_WITH= skipset