git: 14d97bd64a4a - releng/15.0 - ncurses: Add an ncurses-lib package

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Wed, 15 Oct 2025 19:49:07 UTC
The branch releng/15.0 has been updated by cperciva:

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

commit 14d97bd64a4a240d5a12337d22431bba525bc0df
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-10-15 12:28:43 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-15 19:23:32 +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).
    
    Approved by:    re (cperciva)
    MFC after:      3 seconds
    Reviewed by:    kevans
    Sponsored by:   https://www.patreon.com/bsdivy
    Differential Revision:  https://reviews.freebsd.org/D53060
    
    (cherry picked from commit bde703e8b6ab3acc73bbb20f1ebe26221f33e9f1)
    (cherry picked from commit 9dab0e61a921b5f3c4db2e0e2b440aeb6a803e42)
---
 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"