git: cfd744a6635f - stable/14 - pfctl tests: fix dependency

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Wed, 04 Sep 2024 08:53:28 UTC
The branch stable/14 has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=cfd744a6635f2245041fd5980881899ea89cec68

commit cfd744a6635f2245041fd5980881899ea89cec68
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2024-07-25 12:06:27 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2024-09-04 08:38:14 +0000

    pfctl tests: fix dependency
    
    Ensure that we rebuild the test binary when we add tests (i.e. modify
    pfctl_test_list.inc).
    
    MFC after:      1 week
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    
    (cherry picked from commit 250e074e5f609194e0e4cd0775d99b0a616bfcf3)
---
 sbin/pfctl/tests/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sbin/pfctl/tests/Makefile b/sbin/pfctl/tests/Makefile
index db41a445903f..92b7ad6c57c0 100644
--- a/sbin/pfctl/tests/Makefile
+++ b/sbin/pfctl/tests/Makefile
@@ -8,4 +8,6 @@ LIBADD+=	sbuf
 SUBDIR+=	files
 WARNS=6
 
+pfctl_test.o: pfctl_test_list.inc
+
 .include <bsd.test.mk>