git: 040a7e0dcbc2 - stable/14 - sys/modules/dpdk_lpm4: do not build without INET

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 21 May 2024 03:27:37 UTC
The branch stable/14 has been updated by imp:

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

commit 040a7e0dcbc234aa66d0b4b53638db12b81a7b75
Author:     Lexi Winter <lexi@le-Fay.ORG>
AuthorDate: 2024-05-15 00:16:10 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-05-21 03:13:24 +0000

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

diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index b6327ec224af..4b4534aee076 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -500,7 +500,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