git: b0bcedef1a8c - main - ncurses: add SRCHDRS (ncurses_dll.h) to tinfo SRCS

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Fri, 17 Jun 2022 19:35:13 UTC
The branch main has been updated by brooks:

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

commit b0bcedef1a8c1abf4bd2328560ae1c6182cdef61
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2022-06-17 19:34:58 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2022-06-17 19:34:58 +0000

    ncurses: add SRCHDRS (ncurses_dll.h) to tinfo SRCS
    
    This avoids relying on the `includes` target to generate this header
    which must be in .OBJDIR for the ncurses library to find it.
    
    With an upcoming change libcompat build won't build a seperate
    sysroot and will instead share with the 64-bit target which means the
    `includes` target will not be called.
    
    Sponsored by:   DARPA, AFRL
    
    Reviewed by:    bapt
    Differential Revision:  https://reviews.freebsd.org/D35510
---
 lib/ncurses/tinfo/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ncurses/tinfo/Makefile b/lib/ncurses/tinfo/Makefile
index b02b8ee532c1..d7b7343dfcdc 100644
--- a/lib/ncurses/tinfo/Makefile
+++ b/lib/ncurses/tinfo/Makefile
@@ -81,7 +81,7 @@ GENHDRS=	\
 	termcap.h \
 	unctrl.h
 
-SRCS=	${GENHDRS} ${GENSRCS}
+SRCS=	${GENHDRS} ${GENSRCS} ${SRCHDRS}
 
 .PATH: ${NCURSES_DIR}/ncurses/base
 SRCS+=	\