diff options
author | rakuco <rakuco@FreeBSD.org> | 2014-01-07 04:00:46 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2014-01-07 04:00:46 +0800 |
commit | 37685baf1a9683c45f3e16b608ea63358ba01c28 (patch) | |
tree | 4af6f8a0bf44b1f4489912ad2a3411502191d41c /net-mgmt | |
parent | da06fdda6c0abcc2cc55672ffeb35369f44bde03 (diff) | |
download | freebsd-ports-gnome-37685baf1a9683c45f3e16b608ea63358ba01c28.tar.gz freebsd-ports-gnome-37685baf1a9683c45f3e16b608ea63358ba01c28.tar.zst freebsd-ports-gnome-37685baf1a9683c45f3e16b608ea63358ba01c28.zip |
- Add VMware support by adding libxml2
- Add ICONV_PREFIX to the configure arguments (PR: ports/185197)
PR: ports/185412
Submitted by: Pakhom Golynga <pakhom706@gmail.com> (maintainer)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/zabbix22-server/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/net-mgmt/zabbix22-server/Makefile b/net-mgmt/zabbix22-server/Makefile index b32b110f5ff7..4ca0cdf29bfe 100644 --- a/net-mgmt/zabbix22-server/Makefile +++ b/net-mgmt/zabbix22-server/Makefile @@ -3,7 +3,7 @@ PORTNAME= zabbix22 PORTVERSION= 2.2.1 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server @@ -16,7 +16,7 @@ LICENSE= GPLv2 CONFLICTS= ${PKGBASE}-1.[0-8]* -IGNORE_WITH_PHP= 5 52 +IGNORE_WITH_PHP= 52 IGNORE_WITH_MYSQL= 41 .if ${PKGNAMESUFFIX} != "-agent" @@ -59,7 +59,8 @@ MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ - --datadir=${ETCDIR} + --datadir=${ETCDIR} \ + --with-iconv=${ICONV_PREFIX} .if ${ZABBIX_BUILD} != "agent" LIB_DEPENDS= netsnmp:${PORTSDIR}/net-mgmt/net-snmp \ @@ -71,7 +72,7 @@ CONFIGURE_ARGS+= --with-net-snmp OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options -OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP ODBC JAVAGW MYSQL +OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP ODBC JAVAGW MYSQL LIBXML2 OPTIONS_DEFAULT= MYSQL IPV6 FPING JABBER CURL CURL_DESC= Support for web monitoring @@ -85,6 +86,7 @@ ODBC_DESC= Support for database checks via ODBC JAVAGW_DESC= Support for Java gateway IODBC_DESC= Use iODBC for ODBC support UNIXODBC_DESC= Use UnixODBC for ODBC support +LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) OPTIONS_SINGLE= DB ODBC OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE @@ -174,6 +176,11 @@ PLIST_SUB+= JAVAGW="" PLIST_SUB+= JAVAGW="@comment " .endif +.if ${PORT_OPTIONS:MLIBXML2} +LIB_DEPENDS+= xml2:${PORTSDIR}/textproc/libxml2 +CONFIGURE_ARGS+= --with-libxml2 +.endif + post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' |