From 4620ab975c6c059936a9206dccb3fc51b9d14ad3 Mon Sep 17 00:00:00 2001 From: zrj Date: Tue, 14 Nov 2017 19:01:06 +0200 Subject: [PATCH] ncurses: Privatize the last public header. Just move it with rest of privatized ncurses headers. Only user in base is usr.sbin/installer/dfuife_curses/ and include path is already handled there. As of this moment we are sure that none of private ncurses bits are used for bootstrapping the world (non-interactive make/shell scripts redirected to file should not care about colors anyway or try to format the layout). No functional change. --- Makefile_upgrade.inc | 1 + lib/libncurses/libpanel/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile_upgrade.inc b/Makefile_upgrade.inc index 81f977f595..21832dbd6b 100644 --- a/Makefile_upgrade.inc +++ b/Makefile_upgrade.inc @@ -3348,6 +3348,7 @@ TO_REMOVE+=/usr/share/man/man1/version.1.gz TO_REMOVE+=/usr/share/man/man1/x509.1.gz TO_REMOVE+=/usr/share/man/man5/config.5.gz TO_REMOVE+=/usr/share/man/man5/x509v3_config.5.gz +TO_REMOVE+=/usr/include/panel.h .if !defined(WANT_INSTALLER) TO_REMOVE+=/usr/sbin/dfuibe_installer diff --git a/lib/libncurses/libpanel/Makefile b/lib/libncurses/libpanel/Makefile index 9945d44e38..0ce75be0c5 100644 --- a/lib/libncurses/libpanel/Makefile +++ b/lib/libncurses/libpanel/Makefile @@ -6,8 +6,8 @@ SHLIBDIR?= /lib ZPANEL= yes -# XXX TODO privatize too -INCS= panel.h +INCS= panel.h +INCSDIR= ${INCLUDEDIR}/priv/ncurses .include "${.CURDIR}/../Makefile.sources" .include -- 2.11.4.GIT