Bug 229536

Summary: [PATCH] security/pam_ssh_agent_auth: do not run_depend on perl
Product: Ports & Packages Reporter: TEUBEL György <tgyurci>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Some People CC: pi
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch for removing perl dependency from Makefile none

Description TEUBEL György 2018-07-05 09:36:47 UTC
Created attachment 194896 [details]
Patch for removing perl dependency from Makefile

The security/pam_ssh_agent_auth port has USES=perl5, the configure script checks for perl5, but perl is not used at all.
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2018-08-20 18:53:51 UTC
During build, it fails because it can not find pod2man:

--- pam_ssh_agent_auth.8 ---
pod2man --section=8 --release=v0.10.3 --name=pam_ssh_agent_auth --official --center "PAM" pam_ssh_agent_auth.pod > pam_ssh_agent_auth.8
sh: pod2man: not found
[...]
--- pam_ssh_agent_auth.8 ---
*** [pam_ssh_agent_auth.8] Error code 127

So it needs it at least during build.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-08-20 18:56:27 UTC
A commit references this bug:

Author: pi
Date: Mon Aug 20 18:56:19 UTC 2018
New revision: 477670
URL: https://svnweb.freebsd.org/changeset/ports/477670

Log:
  security/pam_ssh_agent_auth: perl is only needed during build

  PR:		229536
  Submitted by:	Gyoergy Teubel <tgyurci@gmail.com>

Changes:
  head/security/pam_ssh_agent_auth/Makefile
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2018-08-20 18:56:43 UTC
Fixed by adding USE_PERL5=build