Bug 275524

Summary: sysutils/bashtop: unbreak (RUN_DEP+=bash, USES+=SHEBANGFIX, s/python3/python${PYTHON_VER}/
Product: Ports & Packages Reporter: Vidar Karlsen <vidar>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: New ---    
Severity: Affects Only Me CC: vidar
Priority: --- Flags: bugzilla: maintainer-feedback? (lwhsu)
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252044
Attachments:
Description Flags
Patch to unbreak bashtop vidar: maintainer-approval?

Description Vidar Karlsen 2023-12-04 14:42:42 UTC
Created attachment 246767 [details]
Patch to unbreak bashtop

Bashtop fails to run due to a couple road blocks:

- It needs shells/bash, but this is not declared as a dependency
- The script isn't shebangfixed (not really a blocker)
- The script tries to run python3, which fails because it doesn't exist

I have attached a patch as a suggestion for how to address these issues.

QA: Installs and runs fine on 13.2-amd64 using poudriere testport.

Note: I believe this is the same problem that was reported in #252044.