summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-09-24 10:04:51 +0000
committerdes <des@FreeBSD.org>2013-09-24 10:04:51 +0000
commit3e7c9aa8a8fce25c081b8af1b5698b9ad8eb4891 (patch)
tree84a2b5f2bc70e8932bdee15fdb358412c84fb711 /etc
parent384b4d5caeff301bc6b680c639a19887868bc3cf (diff)
downloadFreeBSD-src-3e7c9aa8a8fce25c081b8af1b5698b9ad8eb4891.zip
FreeBSD-src-3e7c9aa8a8fce25c081b8af1b5698b9ad8eb4891.tar.gz
Replace the unused /etc/unbound directory with a symlink to /var/unbound.
Approved by: re (blanket)
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile5
-rw-r--r--etc/mtree/BSD.root.dist2
2 files changed, 5 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index ae52d79..ddd1abb 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -250,6 +250,11 @@ distribution:
.if ${MK_BIND_ETC} != "no"
${_+_}cd ${.CURDIR}/namedb; ${MAKE} install
.endif
+.if ${MK_UNBOUND} != "no"
+ if [ ! -e ${DESTDIR}/etc/unbound ]; then \
+ ${INSTALL_SYMLINK} ../var/unbound ${DESTDIR}/etc/unbound; \
+ fi
+.endif
.if ${MK_SENDMAIL} != "no"
${_+_}cd ${.CURDIR}/sendmail; ${MAKE} distribution
.endif
diff --git a/etc/mtree/BSD.root.dist b/etc/mtree/BSD.root.dist
index 349db40..352ac21 100644
--- a/etc/mtree/BSD.root.dist
+++ b/etc/mtree/BSD.root.dist
@@ -66,8 +66,6 @@
..
ssl
..
- unbound
- ..
zfs
..
..
OpenPOWER on IntegriCloud