git: 304a03275a65 - main - sys/modules/dpdk_lpm4: do not build without INET

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 16 May 2024 17:17:08 UTC
The branch main has been updated by imp:

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

commit 304a03275a65cf811fb6c06fa1c37783d07c99a4
Author:     Lexi Winter <lexi@le-Fay.ORG>
AuthorDate: 2024-05-15 00:16:10 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-05-16 17:16:29 +0000

    sys/modules/dpdk_lpm4: do not build without INET
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1236
---
 sys/modules/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 35e5d77b9f07..2bd8914ab0d5 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -505,7 +505,7 @@ _ipfw_nptv6=	ipfw_nptv6
 _ipfilter=	ipfilter
 .endif
 
-.if ${MK_INET_SUPPORT} != "no" && ${KERN_OPTS:MFIB_ALGO}
+.if ${MK_INET_SUPPORT} != "no" && ${KERN_OPTS:MFIB_ALGO} && ${KERN_OPTS:MINET}
 _dpdk_lpm4=	dpdk_lpm4
 _fib_dxr=	fib_dxr
 .endif