aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/zabbix2/Makefile')
-rw-r--r--net-mgmt/zabbix2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/zabbix2/Makefile b/net-mgmt/zabbix2/Makefile
index 9bd3b32e7bd0..f4763ca2c959 100644
--- a/net-mgmt/zabbix2/Makefile
+++ b/net-mgmt/zabbix2/Makefile
@@ -67,7 +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
+ @${REINPLACE_CMD} -i '' -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