diff options
-rw-r--r-- | net-mgmt/zabbix52-agent/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/zabbix52-server/Makefile | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/net-mgmt/zabbix52-agent/Makefile b/net-mgmt/zabbix52-agent/Makefile index f970aa3e783a..a42c35184c9b 100644 --- a/net-mgmt/zabbix52-agent/Makefile +++ b/net-mgmt/zabbix52-agent/Makefile @@ -8,7 +8,7 @@ PKGNAMESUFFIX= -agent MASTERDIR= ${.CURDIR}/../zabbix52-server PLIST= ${PKGDIR}/pkg-plist.agent -OPTIONS_DEFINE= CURL IPV6 +OPTIONS_DEFINE= CURL IPV6 MODBUS OPTIONS_DEFAULT= CURL OPENSSL .include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix52-server/Makefile b/net-mgmt/zabbix52-server/Makefile index 455af7f1fad4..d325dd8f6124 100644 --- a/net-mgmt/zabbix52-server/Makefile +++ b/net-mgmt/zabbix52-server/Makefile @@ -128,6 +128,10 @@ NMAP_RUN_DEPENDS= nmap:security/nmap \ LIBXML2_CONFIGURE_WITH= libxml2=${LOCALBASE} LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 +MODBUS_DESC= Support for Modbus checks +MODBUS_CONFIGURE_WITH= libmodbus +MODBUS_LIB_DEPENDS= libmodbus.so:comms/libmodbus + OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ |