aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/Makefile
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2019-03-12 19:34:33 +0000
committerCy Schubert <cy@FreeBSD.org>2019-03-12 19:34:33 +0000
commit77e6f9282e8af62e9a630de6967e250bb7a185e6 (patch)
tree616b653da6e07024e377f070161d0087d01eb183 /libexec/rc/rc.d/Makefile
parent22d7708455ae7dc26aed18f4f1dd2c7bbebbcc18 (diff)
downloadsrc-77e6f9282e8af62e9a630de6967e250bb7a185e6.tar.gz
src-77e6f9282e8af62e9a630de6967e250bb7a185e6.zip
Fix still installing ipfilter rc.d files even when WITHOUT_IPFILTER
is specified. When WITHOUT_IPFILTER is specified, delete-old-files fails to delete the optional rc.d files from above. Fix this. WITHOUT_IPFILTER fails to delete the ipfilter.5 optional file during delete-old-files. Fix this. Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=345079
Diffstat (limited to 'libexec/rc/rc.d/Makefile')
-rw-r--r--libexec/rc/rc.d/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
index d8d014cb167a..3eef01e58b21 100644
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -46,10 +46,6 @@ CONFS= DAEMON \
hostname \
iovctl \
ip6addrctl \
- ipfilter \
- ipfs \
- ipmon \
- ipnat \
ipsec \
${_kadmind} \
${_kdc} \
@@ -215,6 +211,13 @@ HASTPACKAGE= hast
CONFS+= inetd
.endif
+.if ${MK_IPFILTER} != "no"
+CONFS+= ipfilter \
+ ipfs \
+ ipmon \
+ ipnat
+.endif
+
.if ${MK_IPFW} != "no"
CONFS+= ipfw
.if ${MK_NETGRAPH} != "no"