aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-07-05 01:12:29 +0800
committersat <sat@FreeBSD.org>2007-07-05 01:12:29 +0800
commit92d90075868bd0a66b2f7f614fb69913b57b373d (patch)
treef70399193010fc338a44c097a860688d7d985826 /net-mgmt
parent1975daa5a1e3f670c046bd03c433333364c213e3 (diff)
downloadfreebsd-ports-gnome-92d90075868bd0a66b2f7f614fb69913b57b373d.tar.gz
freebsd-ports-gnome-92d90075868bd0a66b2f7f614fb69913b57b373d.tar.zst
freebsd-ports-gnome-92d90075868bd0a66b2f7f614fb69913b57b373d.zip
- Fix graphs when using PostgreSQL
- Bump portrevision Reported by: Brandon Weisz <brandon_at_mail.avioc.org>, Dmitriy Kirhlarov <dimma@higis.ru> Submitted by: Eugene Grigorjev via Zabbix Forums
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/zabbix/Makefile3
-rw-r--r--net-mgmt/zabbix2/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/net-mgmt/zabbix/Makefile b/net-mgmt/zabbix/Makefile
index 4063fbd9c979..9bd3b32e7bd0 100644
--- a/net-mgmt/zabbix/Makefile
+++ b/net-mgmt/zabbix/Makefile
@@ -7,7 +7,7 @@
PORTNAME= zabbix
PORTVERSION= 1.4.1
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF
@@ -67,6 +67,7 @@ post-patch:
@${FIND} ${WRKSRC}/src/ -type f|${XARGS} \
${REINPLACE_CMD} -Ee 's|(/etc/zabbix)|${PREFIX}\1|;s|/usr/sbin|${LOCALBASE}/sbin|'
@${REINPLACE_CMD} -e '/test.*rf/s|-rf|-f|;/LDFLAGS/s|-static||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/^SDI.*pg_connection_string/d' ${WRKSRC}/frontends/php/include/db.inc.php
.ifdef WITHOUT_FPING
@${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/zabbix_server.conf
.endif
diff --git a/net-mgmt/zabbix2/Makefile b/net-mgmt/zabbix2/Makefile
index 4063fbd9c979..9bd3b32e7bd0 100644
--- a/net-mgmt/zabbix2/Makefile
+++ b/net-mgmt/zabbix2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= zabbix
PORTVERSION= 1.4.1
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF
@@ -67,6 +67,7 @@ post-patch:
@${FIND} ${WRKSRC}/src/ -type f|${XARGS} \
${REINPLACE_CMD} -Ee 's|(/etc/zabbix)|${PREFIX}\1|;s|/usr/sbin|${LOCALBASE}/sbin|'
@${REINPLACE_CMD} -e '/test.*rf/s|-rf|-f|;/LDFLAGS/s|-static||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/^SDI.*pg_connection_string/d' ${WRKSRC}/frontends/php/include/db.inc.php
.ifdef WITHOUT_FPING
@${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/zabbix_server.conf
.endif