git: c55f179fa773 - main - lib/ofed: Move to the rdma package

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Thu, 06 Nov 2025 15:22:54 UTC
The branch main has been updated by ivy:

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

commit c55f179fa773acd7b2ece09a7ac6fa440996a09c
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-11-06 14:39:26 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-11-06 15:20:52 +0000

    lib/ofed: Move to the rdma package
    
    We have an existing rdma package for IB/rdma-related files, but most
    of ofed isn't in that package, making it rather useless.  Move all of
    lib/ofed to the rdma package.
    
    Add a separate rdma-lib package using LIB_PACKAGE, since utilities
    depends on the rdma libraries and we don't want that to pull in all
    of rdma.
    
    This change moves files between packages so, until we have a proper
    policy on how to handle this in release/stable branches, it should
    not be MFC'd.
    
    PR:     263227
    MFC after:      never
    Reviewed by:    manu
    Sponsored by:   https://www.patreon.com/bsdivy
    Differential Revision:  https://reviews.freebsd.org/D53604
---
 lib/ofed/Makefile.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/ofed/Makefile.inc b/lib/ofed/Makefile.inc
index 1b911c451c01..5a16e0015c07 100644
--- a/lib/ofed/Makefile.inc
+++ b/lib/ofed/Makefile.inc
@@ -1 +1,4 @@
+PACKAGE?=	rdma
+LIB_PACKAGE=
+
 WARNS?=	0