Date: Tue, 10 Apr 2018 12:45:34 +0000 (UTC) From: Kristof Provost <kp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r332358 - head/tests/sys/netpfil Message-ID: <201804101245.w3ACjYeD038212@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804101245.w3ACjYeD038212>