git: 2507479f70df - releng/14.1 - sys/modules/dpdk_lpm4: do not build without INET

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 21 May 2024 20:09:17 UTC
The branch releng/14.1 has been updated by imp:

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

commit 2507479f70df850742c750a25dace99b13740582
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 20:08:48 +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)
    (cherry picked from commit 040a7e0dcbc234aa66d0b4b53638db12b81a7b75)
    Approved-by: re (cperciva)
---
 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