Bug 273226

Summary: textproc/ugrep: Disabling option "hidden" has no effect on build result
Product: Ports & Packages Reporter: Oleh Hushchenkov <o.hushchenkov>
Component: Individual Port(s)Assignee: Ashish SHUKLA <ashish>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (ashish)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/Genivia/ugrep/pull/279

Description Oleh Hushchenkov 2023-08-19 09:20:27 UTC
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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-08-20 18:05:19 UTC
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(+)
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2023-08-20 18:07:01 UTC
Submitted a pull request upstream at https://github.com/Genivia/ugrep/pull/279

Committed an immediate fix.

Thanks for the report