aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/zabbix
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-09-11 21:08:13 +0800
committersem <sem@FreeBSD.org>2006-09-11 21:08:13 +0800
commit2769ebfc1ca67cd6832b648def933f2028b08a1f (patch)
tree3cb1df845eca70628ac72718cfe8ea632182430f /net-mgmt/zabbix
parenta83812482a2d3a83626893f668cd0bad16cb40a3 (diff)
downloadfreebsd-ports-gnome-2769ebfc1ca67cd6832b648def933f2028b08a1f.tar.gz
freebsd-ports-gnome-2769ebfc1ca67cd6832b648def933f2028b08a1f.tar.zst
freebsd-ports-gnome-2769ebfc1ca67cd6832b648def933f2028b08a1f.zip
- When ZABBIX_AGENT_ONLY defined, two REINPLACE_CMD patches are missed.
Reported by: Vladimir Alexeyeff (wom@RusNET)
Diffstat (limited to 'net-mgmt/zabbix')
-rw-r--r--net-mgmt/zabbix/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/zabbix/Makefile b/net-mgmt/zabbix/Makefile
index bfd49d66a7d9..f0180326c3de 100644
--- a/net-mgmt/zabbix/Makefile
+++ b/net-mgmt/zabbix/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zabbix
PORTVERSION= 1.1.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -76,11 +77,11 @@ ZABBIX_BINARIES+= zabbix_server/zabbix_server
ZABBIX_CONFIGS+= zabbix_server.conf
.endif
-.ifndef(ZABBIX_AGENT_ONLY)
post-patch:
- @${REINPLACE_CMD} 's|%LOCALBASE%|${LOCALBASE}|;s|%PREFIX%|${PREFIX}|' ${WRKSRC}/src/zabbix_server/server.c
@${REINPLACE_CMD} 's|%PREFIX%|${PREFIX}|' ${WRKSRC}/src/zabbix_agent/zabbix_agent.c
@${REINPLACE_CMD} 's|%PREFIX%|${PREFIX}|' ${WRKSRC}/src/zabbix_agent/zabbix_agentd.c
+.ifndef(ZABBIX_AGENT_ONLY)
+ @${REINPLACE_CMD} 's|%LOCALBASE%|${LOCALBASE}|;s|%PREFIX%|${PREFIX}|' ${WRKSRC}/src/zabbix_server/server.c
.ifdef WITHOUT_FPING
@${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/zabbix_server.conf
.endif