aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
Diffstat (limited to 'dns')
-rw-r--r--dns/bind96/Makefile1
-rw-r--r--dns/bind97/Makefile1
-rw-r--r--dns/bind98/Makefile1
3 files changed, 3 insertions, 0 deletions
diff --git a/dns/bind96/Makefile b/dns/bind96/Makefile
index c97375700895..b06c303c9352 100644
--- a/dns/bind96/Makefile
+++ b/dns/bind96/Makefile
@@ -196,6 +196,7 @@ post-patch:
@${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist
@${SED} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \
-e 's#/etc/rndc.conf#${BIND_DESTETC}/rndc.conf#g' \
+ -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \
${WRKSRC}/bin/${FILE}.Dist > ${WRKSRC}/bin/${FILE}
.endfor
diff --git a/dns/bind97/Makefile b/dns/bind97/Makefile
index f1a18031edf8..4841ba3e2e6b 100644
--- a/dns/bind97/Makefile
+++ b/dns/bind97/Makefile
@@ -200,6 +200,7 @@ post-patch:
@${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist
@${SED} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \
-e 's#/etc/rndc.conf#${BIND_DESTETC}/rndc.conf#g' \
+ -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \
${WRKSRC}/bin/${FILE}.Dist > ${WRKSRC}/bin/${FILE}
.endfor
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.Dist
diff --git a/dns/bind98/Makefile b/dns/bind98/Makefile
index 1403926183f2..3d8bd7cb0b9c 100644
--- a/dns/bind98/Makefile
+++ b/dns/bind98/Makefile
@@ -199,6 +199,7 @@ post-patch:
@${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist
@${SED} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \
-e 's#/etc/rndc.conf#${BIND_DESTETC}/rndc.conf#g' \
+ -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \
${WRKSRC}/bin/${FILE}.Dist > ${WRKSRC}/bin/${FILE}
.endfor
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.Dist