aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorSahil Tandon <sahil@FreeBSD.org>2010-05-05 04:07:00 +0000
committerSahil Tandon <sahil@FreeBSD.org>2010-05-05 04:07:00 +0000
commit7bbaba1225eb64356eac9199774f3ea0012fd5cd (patch)
treef0ea0e6dba90b3ada1e6a4410434c9ab7b9c4424 /net-mgmt
parent1ec64e899c49727798e23e85e8d9d2d882c1f33d (diff)
downloadports-7bbaba1225eb64356eac9199774f3ea0012fd5cd.tar.gz
ports-7bbaba1225eb64356eac9199774f3ea0012fd5cd.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/zabbix-server/Makefile1
-rw-r--r--net-mgmt/zabbix2-server/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/net-mgmt/zabbix-server/Makefile b/net-mgmt/zabbix-server/Makefile
index 7965b95bcb5c..f77173543e98 100644
--- a/net-mgmt/zabbix-server/Makefile
+++ b/net-mgmt/zabbix-server/Makefile
@@ -110,6 +110,7 @@ post-patch:
@${GREP} -rl "/etc/zabbix" ${WRKSRC} \
| ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' \
&& ${FIND} ${WRKSRC} -type f -name '*.bak' -exec ${RM} -f {} +
+ @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' ${WRKSRC}/misc/conf/${PORTNAME}_*.conf
.if ${ZABBIX_BUILD} != "agent"
.ifdef WITHOUT_FPING
diff --git a/net-mgmt/zabbix2-server/Makefile b/net-mgmt/zabbix2-server/Makefile
index 7965b95bcb5c..f77173543e98 100644
--- a/net-mgmt/zabbix2-server/Makefile
+++ b/net-mgmt/zabbix2-server/Makefile
@@ -110,6 +110,7 @@ post-patch:
@${GREP} -rl "/etc/zabbix" ${WRKSRC} \
| ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' \
&& ${FIND} ${WRKSRC} -type f -name '*.bak' -exec ${RM} -f {} +
+ @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' ${WRKSRC}/misc/conf/${PORTNAME}_*.conf
.if ${ZABBIX_BUILD} != "agent"
.ifdef WITHOUT_FPING