git: bde703e8b6ab - main - ncurses: Add an ncurses-lib package

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Wed, 15 Oct 2025 12:34:16 UTC
The branch main has been updated by ivy:

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

commit bde703e8b6ab3acc73bbb20f1ebe26221f33e9f1
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-10-15 12:28:43 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-10-15 12:29:28 +0000

    ncurses: Add an ncurses-lib package
    
    Set LIB_PACKAGE= in lib/ncurses/Makefile.inc so the ncurses libraries
    go into the ncurses-lib subpackage rather than the base package. This
    means applications that depend on ncurses can be installed without
    needing to install the various utilities and manpages.
    
    This removes a dependency from runtime to ncurses (it now depends on
    ncurses-lib instead).
    
    MFC after:      3 seconds
    Reviewed by:    kevans
    Sponsored by:   https://www.patreon.com/bsdivy
    Differential Revision:  https://reviews.freebsd.org/D53060
---
 lib/ncurses/Makefile.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/ncurses/Makefile.inc b/lib/ncurses/Makefile.inc
index eea49908474c..e14867696834 100644
--- a/lib/ncurses/Makefile.inc
+++ b/lib/ncurses/Makefile.inc
@@ -1,6 +1,7 @@
 # This is to include src/lib/Makefile.inc
 
 PACKAGE?=	ncurses
+LIB_PACKAGE=
 WARNS?=	3
 
 .include "../Makefile.inc"