diff options
author | sem <sem@FreeBSD.org> | 2006-09-11 21:08:13 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2006-09-11 21:08:13 +0800 |
commit | 2769ebfc1ca67cd6832b648def933f2028b08a1f (patch) | |
tree | 3cb1df845eca70628ac72718cfe8ea632182430f /net-mgmt/zabbix | |
parent | a83812482a2d3a83626893f668cd0bad16cb40a3 (diff) | |
download | freebsd-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/Makefile | 5 |
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 |