aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2025-09-30 12:21:34 +0000
committerKyle Evans <kevans@FreeBSD.org>2025-09-30 12:21:34 +0000
commit5e4e12ae64b3e0377984d22610a6b3d6ccd6cee6 (patch)
treee842674df145684a56765a0f0eef9169aa153f92
parent06afa0a55e0acc00823f08fe17305df13502f235 (diff)
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
-rw-r--r--lib/libedit/Makefile3
-rw-r--r--lib/libedit/Makefile.inc1
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