Do not build netgraph kernel modules if WITHOUT_NETGRAPH is set in src.conf

Submitted by:	bf
MFC after:	2 weeks
This commit is contained in:
antoine 2010-01-16 17:08:22 +00:00
parent 659d6713f8
commit 8f3c3cadff

View File

@ -192,7 +192,7 @@ SUBDIR= ${_3dfx} \
${_ncp} \
${_ncv} \
${_ndis} \
netgraph \
${_netgraph} \
${_nfe} \
nfscl \
nfsclient \
@ -327,6 +327,10 @@ _random= random
_ipfilter= ipfilter
.endif
.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
_netgraph= netgraph
.endif
.if ${MK_PF} != "no" || defined(ALL_MODULES)
_pf= pf
_pflog= pflog