From 9568a087da0f3050a84af167cbf3676ce3737ffc Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Mon, 8 Jan 2018 15:47:40 +0000 Subject: databases/py-MySQLdb only supports Python 2, restrict ports that uses it. Sponsored by: Absolight --- net-mgmt/librenms/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net-mgmt/librenms') 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 \ -- cgit v1.2.3