aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-07-07 14:54:12 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-07-07 14:54:12 +0000
commit83adb9b2a8f24ab31d871d8f891c8a49fe4d7c2e (patch)
treedb57aa812f7a47108466d37aeaf97f5a9f4dc8d4 /net-mgmt
parent8a03288e49ca5b1f6841845e36c5f1a35d554b91 (diff)
downloadports-83adb9b2a8f24ab31d871d8f891c8a49fe4d7c2e.tar.gz
ports-83adb9b2a8f24ab31d871d8f891c8a49fe4d7c2e.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/zabbix/Makefile2
-rw-r--r--net-mgmt/zabbix2/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/zabbix/Makefile b/net-mgmt/zabbix/Makefile
index 9bd3b32e7bd0..f4763ca2c959 100644
--- a/net-mgmt/zabbix/Makefile
+++ b/net-mgmt/zabbix/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
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