svn commit: r332358 - head/tests/sys/netpfil
Kristof Provost
kp at FreeBSD.org
Tue Apr 10 12:45:35 UTC 2018
Author: kp
Date: Tue Apr 10 12:45:34 2018
New Revision: 332358
URL: https://svnweb.freebsd.org/changeset/base/332358
Log:
pf tests: Do not build or install if pf is not enabled
Do not build or install pf tests if WITHOUT_PF is set. This fixes the build
failure with WITHOUT_PF=yes.
Reported by: Vladimir Zakharov <zakharov.vv at gmail.com>
Modified:
head/tests/sys/netpfil/Makefile
Modified: head/tests/sys/netpfil/Makefile
==============================================================================
--- head/tests/sys/netpfil/Makefile Tue Apr 10 10:27:55 2018 (r332357)
+++ head/tests/sys/netpfil/Makefile Tue Apr 10 12:45:34 2018 (r332358)
@@ -1,7 +1,11 @@
# $FreeBSD$
+.include <src.opts.mk>
+
TESTSDIR= ${TESTSBASE}/sys/netpfil
+.if ${MK_PF} != "no"
TESTS_SUBDIRS+= pf
+.endif
.include <bsd.test.mk>
More information about the svn-src-head
mailing list