Module Name:    src
Committed By:   kre
Date:           Fri Oct 26 06:23:02 UTC 2018

Modified Files:
        src/sys/rump/net/lib/libnpf: Makefile

Log Message:
Revert previous (unbreak build) - for now anyway.

It turns out _NPF_TESTING is needed for the (rump only) function
npf_state_setsampler() in sys/net/npf/npf_state.c


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/rump/net/lib/libnpf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/net/lib/libnpf/Makefile
diff -u src/sys/rump/net/lib/libnpf/Makefile:1.23 src/sys/rump/net/lib/libnpf/Makefile:1.24
--- src/sys/rump/net/lib/libnpf/Makefile:1.23	Fri Oct 26 01:33:33 2018
+++ src/sys/rump/net/lib/libnpf/Makefile	Fri Oct 26 06:23:02 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.23 2018/10/26 01:33:33 christos Exp $
+#	$NetBSD: Makefile,v 1.24 2018/10/26 06:23:02 kre Exp $
 #
 # Public Domain.
 #
@@ -33,9 +33,9 @@ SRCS+=	npf_component.c
 
 CPPFLAGS+=	-I ${NETBSDSRCDIR}/sys/external/bsd/libnv/dist
 
-#.if ${RUMP_NPF_TESTING:Uyes} == "yes"
-#CPPFLAGS+=	-D_NPF_TESTING
-#.endif
+.if ${RUMP_NPF_TESTING:Uyes} == "yes"
+CPPFLAGS+=	-D_NPF_TESTING
+.endif
 
 .include <bsd.lib.mk>
 .include <bsd.klinks.mk>

Reply via email to