Nobody ever noticed that "make depend" fails when pf_print_host.c does
not yet exist? Hard to believe...

Anyway, here's a simple fix:

OK?


Index: Makefile
===================================================================
RCS file: /home/vcs/cvs/openbsd/src/regress/sys/net/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- Makefile    22 Aug 2008 00:48:33 -0000      1.1
+++ Makefile    30 Nov 2012 21:21:00 -0000
@@ -8,6 +8,8 @@ pf_print_host.c: ../../../sys/net/pf.c M
            ${.CURDIR}/../../../sys/net/pf.c >$@.tmp
        mv $@.tmp $@
 
+beforedepend: pf_print_host.c
+
 pf_print_test.o: pf_print_test.c pf_print_host.c
 
 .include <bsd.regress.mk>

Reply via email to