Part of configure output with port option hidden disabled: checking for --disable-auto-color... no checking for --enable-color... yes checking for --enable-pretty... yes checking for --enable-pager... yes checking for --enable-hidden... yes checking for --disable-mmap... yes checking for --disable-sse2... no As a result ug searches in hidden directories/files.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=522764cdade3a8704a86e327f3b187ef83c1f9bf commit 522764cdade3a8704a86e327f3b187ef83c1f9bf Author: Ashish SHUKLA <ashish@FreeBSD.org> AuthorDate: 2023-08-20 17:54:08 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2023-08-20 18:00:56 +0000 textproc/ugrep: Fix --enable-hidden option PR: 273226 Reported by: Oleh Hushchenkov <o dot hushchenkov at gmail dot com> textproc/ugrep/Makefile | 1 + textproc/ugrep/files/patch-configure (new) | 11 +++++++++++ 2 files changed, 12 insertions(+)
Submitted a pull request upstream at https://github.com/Genivia/ugrep/pull/279 Committed an immediate fix. Thanks for the report