Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2025 12:22:01 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5e4e12ae64b3 - main - pkgbase: move libedit into the -runtime package
Message-ID:  <202509301222.58UCM14P003948@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kevans:

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

commit 5e4e12ae64b3e0377984d22610a6b3d6ccd6cee6
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-09-30 12:21:34 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-09-30 12:21:34 +0000

    pkgbase: move libedit into the -runtime package
    
    libedit isn't as foundational as the rest of -clibs, but various bits
    of -runtime do need it.  Give it a new home over in -runtime.
    
    This also fixes the libedit build to group the readline bits into the
    same package as the libedit that implements them.
    
    Reviewed by:    ivy
    MFC after:      2 days (pkgbase movement)
    Differential Revision:  https://reviews.freebsd.org/D52787
---
 lib/libedit/Makefile     | 3 +--
 lib/libedit/Makefile.inc | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile
index f0254c1f42bc..c7a54253dae9 100644
--- a/lib/libedit/Makefile
+++ b/lib/libedit/Makefile
@@ -1,7 +1,5 @@
 #	$NetBSD: Makefile,v 1.56 2016/03/02 19:24:20 christos Exp $
 
-PACKAGE=clibs
-
 EDITDIR=	${SRCTOP}/contrib/libedit
 .PATH: ${EDITDIR}
 
@@ -93,6 +91,7 @@ tc1.o: ${EDITDIR}/TEST/tc1.c
 test: tc1.o libedit.a ${DPADD} ${LIBTERMCAP}
 	${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD}
 
+.include "Makefile.inc"
 .include <bsd.lib.mk>
 
 CWARNFLAGS.chartype.c=	${NO_WUSE_AFTER_FREE}
diff --git a/lib/libedit/Makefile.inc b/lib/libedit/Makefile.inc
new file mode 100644
index 000000000000..9ec65b0d266f
--- /dev/null
+++ b/lib/libedit/Makefile.inc
@@ -0,0 +1 @@
+PACKAGE?=runtime



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509301222.58UCM14P003948>