Bug 250320

Summary: print/texlive-base: latexindent is missing RUN_DEPENDS: Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny module)
Product: Ports & Packages Reporter: Mateusz Piotrowski <0mp>
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Mateusz Piotrowski freebsd_committer freebsd_triage 2020-10-13 13:40:31 UTC
It looks like the latexindent script from print/texlive-base is missing some runtime Perl modules:

Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32) at /usr/local/bin/latexindent line 39.
BEGIN failed--compilation aborted at /usr/local/bin/latexindent line 39.
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2020-10-13 13:45:21 UTC
It looks like it is missing at least those two dependencies:

p5-YAML-Tiny
p5-File-HomeDir


After they are installed, the script is able to do some work. I am not sure if those are all the needed dependencies.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-11-09 10:17:42 UTC
A commit references this bug:

Author: 0mp
Date: Mon Nov  9 10:16:52 UTC 2020
New revision: 554704
URL: https://svnweb.freebsd.org/changeset/ports/554704

Log:
  Add two runtime dependencies for the latexindent script

  Perhaps it would be better if we created a new port option
  (e.g., LINKED_SCRIPTS) and used LINKED_SCRIPTS_RUN_DEPENDS
  instead.

  PR:		250320
  Approved by:	maintainer timeout

Changes:
  head/print/texlive-base/Makefile