aboutsummaryrefslogtreecommitdiff
path: root/dns/bind97
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2011-07-17 04:08:59 +0000
committerDoug Barton <dougb@FreeBSD.org>2011-07-17 04:08:59 +0000
commit2b4caa4539f794185f369fecab9157f7bae1ebc1 (patch)
treeeb4b99eadca9149aa01b391c0406ec6abab21a98 /dns/bind97
parenta0aa5215086986a0820912e3e75df3cdcb6d5e2c (diff)
downloadports-2b4caa4539f794185f369fecab9157f7bae1ebc1.tar.gz
ports-2b4caa4539f794185f369fecab9157f7bae1ebc1.zip
Fix the location of the default pid file in named.8
Problem pointed out in the PR PR: conf/155006 Submitted by: Helmut Schneider <jumper99@gmx.de>
Notes
Notes: svn path=/head/; revision=277826
Diffstat (limited to 'dns/bind97')
-rw-r--r--dns/bind97/Makefile1
1 files changed, 1 insertions, 0 deletions
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