ports/net/ntp/files/patch-scripts_build_checkHtmlFileDates
Cy Schubert e34576d8f5 net/ntp: Fix stage when devel/bitkeeper is installed
NTP is developed using the bitkeeper VCS. checkHtmlFileDates, uses
bitkeeper metadata to alter dates in html files. This results in
a bunch of *.old files installed in ${STAGEDIR}. As the distribution
tarball contains no bitkeeper metadata, no dates are updated at the
cost of failed build. This patch teaches scripts/build/checkHtmlFileDates
to act as if bitkeeper is not installed regardless of bitkeeper's
installatikon status.

MFH:		2021Q4
2021-10-15 20:59:13 -07:00

20 lines
489 B
Text

--- scripts/build/checkHtmlFileDates.orig 2021-10-15 20:33:38.712582000 -0700
+++ scripts/build/checkHtmlFileDates 2021-10-15 20:37:19.867441000 -0700
@@ -1,16 +1,3 @@
#! /bin/sh
-bk version > /dev/null 2>&1 || exit 0
-
-for i in `find * -type f -name '*.html' -print | grep -v SCCS/`
-do
- # echo $i
- set `bk diffs $i | wc -l`
- lines=$1
- case "$lines" in
- 0) ;;
- *) echo "Processing <$i>"
- ../scripts/build/updateBEDate $i
- ;;
- esac
-done
+exit 0