aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2021-01-08 15:18:46 +0000
committerKyle Evans <kevans@FreeBSD.org>2021-01-08 16:43:53 +0000
commit14a16fd3e7eced5b63ffd85fdac4334e30012e84 (patch)
tree99f9a28a13b14ff3d6a8e596c04703256936614e /tools
parent9be9771c875259b9c99414feb3833c5af03baa8b (diff)
downloadsrc-14a16fd3e7eced5b63ffd85fdac4334e30012e84.tar.gz
src-14a16fd3e7eced5b63ffd85fdac4334e30012e84.zip
build: add WITHOUT_CLEAN workaround for 821aa63a0940
The *w variants of ncurses directories went away, and the remaining names build the widechar variants instead of non-widechar variants. As such, the entire ncurses tree should be regenerated. Key off of lib/ncurses/ncursesw being present and remove the whole ncurses hierarchy if it is. Reviewed by: emaste (IRC)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build/depend-cleanup.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
index 0b3ff9bcc635..23bedee1ea26 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -64,3 +64,9 @@ if [ -e "$OBJTOP"/sbin/pfctl/.depend.pf_ruleset.o ] && \
echo "Removing old pf_ruleset dependecy file"
rm -rf "$OBJTOP"/sbin/pfctl/.depend.pf_ruleset.o
fi
+
+# 20210108 821aa63a0940 non-widechar version of ncurses removed
+if [ -e "$OBJTOP"/lib/ncurses/ncursesw ]; then
+ echo "Removing stale ncurses objects"
+ rm -rf "$OBJTOP"/lib/ncurses "$OBJTOP"/obj-lib32/lib/ncurses
+fi