Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2021 03:59:18 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e34576d8f568 - main - net/ntp: Fix stage when devel/bitkeeper is installed
Message-ID:  <202110160359.19G3xIkf004416@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e34576d8f56801a9eef9fd473d19358804128e56

commit e34576d8f56801a9eef9fd473d19358804128e56
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-10-16 03:41:53 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-10-16 03:59:13 +0000

    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
---
 net/ntp/files/patch-scripts_build_checkHtmlFileDates | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/net/ntp/files/patch-scripts_build_checkHtmlFileDates b/net/ntp/files/patch-scripts_build_checkHtmlFileDates
new file mode 100644
index 000000000000..cf9f4d541e8a
--- /dev/null
+++ b/net/ntp/files/patch-scripts_build_checkHtmlFileDates
@@ -0,0 +1,20 @@
+--- 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110160359.19G3xIkf004416>