net-mgmt/ocsinventory-agent should depend on www/p5-libwww If p5-libwww is not installed, the following message is printed: % ocsinventory-agent Failed to load Ocsinventory::Agent, Can't locate LWP/UserAgent.pm in @INC (you may need to install the LWP::UserAgent 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/Ocsinventory/Agent/Network.pm line 7. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Ocsinventory/Agent/Network.pm line 7. Compilation failed in require at /usr/local/lib/perl5/site_perl/Ocsinventory/Agent.pm line 33. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Ocsinventory/Agent.pm line 33. Compilation failed in require at (eval 1) line 1. BEGIN failed--compilation aborted at (eval 1) line 1. you can run the agent directly for its source directory with --devlib Exit 1
Created attachment 157858 [details] Patch, which fixes problem
A commit references this bug: Author: sunpoet Date: Sun Jun 21 13:55:20 UTC 2015 New revision: 390227 URL: https://svnweb.freebsd.org/changeset/ports/390227 Log: - Fix RUN_DEPENDS: LWP::UserAgent (www/p5-libwww) is required - While I'm here: - Update MASTER_SITES - Fix and sort RUN_DEPENDS: Digest::MD5 is already in all supported Perl releases - Bump PORTREVISION for dependency change PR: 200639 Submitted by: Gennady Proskurin <gpr@mail.ru> Changes: head/net-mgmt/ocsinventory-agent/Makefile
Committed. Thanks!