aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/librenms
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-01-08 15:47:40 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-01-08 15:47:40 +0000
commit9568a087da0f3050a84af167cbf3676ce3737ffc (patch)
treebb5b52f46cd75c2df8dcafbcfe8067eb799cadf7 /net-mgmt/librenms
parente56d2fd4b477e734db2c75b51a7a4d629121b6bf (diff)
downloadports-9568a087da0f3050a84af167cbf3676ce3737ffc.tar.gz
ports-9568a087da0f3050a84af167cbf3676ce3737ffc.zip
databases/py-MySQLdb only supports Python 2, restrict ports that uses it.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=458431
Diffstat (limited to 'net-mgmt/librenms')
-rw-r--r--net-mgmt/librenms/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile
index 0146b26974b6..8df5ef9f6282 100644
--- a/net-mgmt/librenms/Makefile
+++ b/net-mgmt/librenms/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv3
USE_GITHUB= yes
GH_ACCOUNT= librenms
-USES= php:cli python shebangfix
+USES= php:cli python${PY_MYSQL} shebangfix
SHEBANG_FILES= scripts/auth_test.php scripts/deploy-docs.sh scripts/github-remove \
scripts/Migration/Standard_Conversion/convert_no_xml.sh \
scripts/Migration/Standard_Conversion/destwork_no_xml.sh \
@@ -69,6 +69,7 @@ LIBVIRT_RUN_DEPENDS= virsh:devel/libvirt
NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins
NMAP_RUN_DEPENDS= nmap:security/nmap
PYPOLLER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.3:databases/py-MySQLdb
+PYPOLLER_VARS= PY_MYSQL=:2.7
X11_RUN_DEPENDS= Magick-config:graphics/ImageMagick \
mtr:net/mtr
X11_RUN_DEPENDS_OFF= Magick-config:graphics/ImageMagick-nox11 \