Created attachment 222098 [details] Patch file textproc/docproj is installed to create release documents from doc source tree. But if NODOC is set neither doc source tree is checked out nor release documents are created. As a result installed package isn't used at all. So skip installing it when NODOC is set.
This shouldn't be needed. 180 if [ -n "${NODOC}" ]; then 181 SRCDOCPORTS="${SRCDOCPORTS}${SRCDOCPORTS:+ }NODOC=yes" 182 fi Did you encounter a case where NODOC did not properly get set? I will commit it regardless, as I see no harm in doing so.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=805e2876ec20f89e45f0f9f4164f31b6711ff0ea commit 805e2876ec20f89e45f0f9f4164f31b6711ff0ea Author: Glen Barber <gjb@FreeBSD.org> AuthorDate: 2021-02-03 00:04:11 +0000 Commit: Glen Barber <gjb@FreeBSD.org> CommitDate: 2021-02-03 00:04:11 +0000 release.sh: Skip installing textproc/docproj when NODOC is set PR: 253192 Submitted by: Yasuhiro Kimura MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate") release/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(In reply to Glen Barber from comment #1) Hmm I may have made something wrong. I'll double check without this change.
(In reply to Yasuhiro Kimura from comment #3) I tried again and everything worked as is expected without this change. Sorry for bothering you.
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5950b9cdbba29ebd1b33be9e52cd9d26d732481b commit 5950b9cdbba29ebd1b33be9e52cd9d26d732481b Author: Glen Barber <gjb@FreeBSD.org> AuthorDate: 2021-02-03 00:04:11 +0000 Commit: Glen Barber <gjb@FreeBSD.org> CommitDate: 2021-04-29 15:24:03 +0000 release.sh: Skip installing textproc/docproj when NODOC is set PR: 253192 Submitted by: Yasuhiro Kimura Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 805e2876ec20f89e45f0f9f4164f31b6711ff0ea) release/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)