Bug 204137 - [patch] print/a2pdf requires lang/p5-Switch
Summary: [patch] print/a2pdf requires lang/p5-Switch
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Thomas Zander
URL:
Keywords: easy, needs-qa, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2015-10-30 04:50 UTC by Helge Oldach
Modified: 2015-11-15 12:52 UTC (History)
4 users (show)

See Also:
koobs: maintainer-feedback-
riggs: merge-quarterly+


Attachments
fix (430 bytes, patch)
2015-10-30 04:50 UTC, Helge Oldach
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helge Oldach 2015-10-30 04:50:39 UTC
Created attachment 162590 [details]
fix

# a2pdf
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.20 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.20/mach /usr/local/lib/perl5/5.20 /usr/local/lib/perl5/site_perl/5.20 /usr/local/lib/perl5/site_perl/5.20/mach .) at /usr/local/lib/perl5/site_perl/App/a2pdf.pm line 17.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/App/a2pdf.pm line 17.
Compilation failed in require at /usr/local/bin/a2pdf line 20.
BEGIN failed--compilation aborted at /usr/local/bin/a2pdf line 20.
#

See attached trivial fix.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2015-10-30 09:26:58 UTC
Thank you for the report Helge, is p5-Switch actually a *build* dependency, or only a run-time one?

This port has no maintainer, so implicit approval once the correct dependency type is confirmed.
Comment 2 Helge Oldach 2015-10-30 12:24:57 UTC
Technically it's a run-time dependency. But this port, like many perl5 ports, has RUN_DEPENDS:=${BUILD_DEPENDS}. If I not mistaken, all of this port's current BUILD_DEPENDS are actually RUN_DEPENDS. Not verified though.
Comment 3 commit-hook freebsd_committer 2015-11-15 11:40:24 UTC
A commit references this bug:

Author: riggs
Date: Sun Nov 15 11:39:26 UTC 2015
New revision: 401692
URL: https://svnweb.freebsd.org/changeset/ports/401692

Log:
  Fix runtime dependency: a2pdf requires lang/p5-Switch

  PR:		204137
  Submitted by:	freebsd@oldach.net
  MFH:		2015Q4 (ports-secteam fix blanket)

Changes:
  head/print/a2pdf/Makefile
Comment 4 commit-hook freebsd_committer 2015-11-15 11:47:29 UTC
A commit references this bug:

Author: riggs
Date: Sun Nov 15 11:46:45 UTC 2015
New revision: 401697
URL: https://svnweb.freebsd.org/changeset/ports/401697

Log:
  MFH: r401692

  Fix runtime dependency: a2pdf requires lang/p5-Switch

  PR:		204137
  Submitted by:	freebsd@oldach.net
  Approved by:	ports-secteam (fix blanket)

Changes:
_U  branches/2015Q4/
  branches/2015Q4/print/a2pdf/Makefile
Comment 5 commit-hook freebsd_committer 2015-11-15 12:11:33 UTC
A commit references this bug:

Author: riggs
Date: Sun Nov 15 12:11:01 UTC 2015
New revision: 401699
URL: https://svnweb.freebsd.org/changeset/ports/401699

Log:
  Bump PORTREVISION after updating runtime dependencies in previous commit

  PR:		204137
  Submitted by:	freebsd@oldach.net
  MFH:		2015Q4 (ports-secteam fix blanket)

Changes:
  head/print/a2pdf/Makefile
Comment 6 commit-hook freebsd_committer 2015-11-15 12:42:39 UTC
A commit references this bug:

Author: riggs
Date: Sun Nov 15 12:42:17 UTC 2015
New revision: 401701
URL: https://svnweb.freebsd.org/changeset/ports/401701

Log:
  MFH: r401699

  Bump PORTREVISION after updating runtime dependencies in previous commit

  PR:		204137
  Submitted by:	freebsd@oldach.net
  Approved by:	ports-secteam (fix blanket)

Changes:
_U  branches/2015Q4/
  branches/2015Q4/print/a2pdf/Makefile