From 0a84d3e5f0f4f8b71571fdd7529f1c8b9abeea54 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Sat, 15 Jul 2017 09:04:23 +0000 Subject: etc/rc.d: Only install ipfw_netflow is MK_IPFW and MK_NETGRAPH is defined While here only install ipfw rc script if MK_IPFW is defined. Reported by: ngie --- etc/rc.d/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'etc/rc.d/Makefile') diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile index 01e21415d53c..e27ac915b9ad 100644 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -47,7 +47,6 @@ FILES= DAEMON \ ip6addrctl \ ipfilter \ ipfs \ - ipfw \ ipmon \ ipnat \ ipsec \ @@ -206,6 +205,13 @@ HASTPACKAGE= hast FILES+= inetd .endif +.if ${MK_IPFW} != "no" +FILES+= ipfw +.if ${MK_NETGRAPH} != "no" +FILES+= ipfw_netflow +.endif +.endif + .if ${MK_ISCSI} != "no" FILES+= iscsictl FILES+= iscsid -- cgit v1.2.3