Bug 276939

Summary: lang/expect: Requires tcl:wrapper USES flag
Product: Ports & Packages Reporter: Emanuel Haupt <ehaupt>
Component: Individual Port(s)Assignee: freebsd-tcltk (Nobody) <tcltk>
Status: Closed FIXED    
Severity: Affects Only Me CC: gahr
Priority: --- Flags: gahr: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
tcl wrapper USES flag none

Description Emanuel Haupt freebsd_committer freebsd_triage 2024-02-10 11:15:38 UTC
Created attachment 248302 [details]
tcl wrapper USES flag

Running the following command you get:

pkg install -y lolcat expect
/usr/local/bin/expect_unbuffer lolcat /COPYRIGHT 
exec: tclsh: not found

Therefore lang/expect requires the tcl:wrapper USES flag

The attached patch implements:

- Adds wrapper to tcl USES flag
- Pacify portfmt
- Pacify portclippy
- Bump PORTREVISION
Comment 1 Pietro Cerutti freebsd_committer freebsd_triage 2024-02-10 12:50:34 UTC
Approved, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-02-10 15:52:06 UTC
A commit in branch main references this bug:

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

commit f351b696036eb78156a3664ba3f47a7682a00e4a
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-02-10 15:51:06 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-02-10 15:51:13 +0000

    lang/expect: Add tcl:wrapper USES flag

    expect_unbuffer requires tcl:wrapper USES flag.

    PR:             276939
    Approved by:    tcltk via gahr (maintainer)

 lang/expect/Makefile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
Comment 3 Emanuel Haupt freebsd_committer freebsd_triage 2024-02-10 15:54:37 UTC
Committed, thanks for the quick approval \o/