From 5e4e12ae64b3e0377984d22610a6b3d6ccd6cee6 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Tue, 30 Sep 2025 07:21:34 -0500 Subject: [PATCH] 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(-) create mode 100644 lib/libedit/Makefile.inc diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile index f0254c1f42b..c7a54253dae 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 CWARNFLAGS.chartype.c= ${NO_WUSE_AFTER_FREE} diff --git a/lib/libedit/Makefile.inc b/lib/libedit/Makefile.inc new file mode 100644 index 00000000000..9ec65b0d266 --- /dev/null +++ b/lib/libedit/Makefile.inc @@ -0,0 +1 @@ +PACKAGE?=runtime