Bug 100800 - anomy-sanitizer fails to install required FileTypes.pm module
Summary: anomy-sanitizer fails to install required FileTypes.pm module
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cheng-Lung Sung
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-25 08:40 UTC by Marshal Newrock
Modified: 2006-07-30 23:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marshal Newrock 2006-07-25 08:40:16 UTC
When trying to run sanitizer.pl, it complains that it cannot find FileTypes.pm in the include path:

# ./sanitizer.pl 
Can't locate Anomy/Sanitizer/FileTypes.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /bin) at /usr/local/lib/perl5/site_perl/5.8.8/Anomy/Sanitizer.pm line 47.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Anomy/Sanitizer.pm line 47.
Compilation failed in require at ./sanitizer.pl line 45.
BEGIN failed--compilation aborted at ./sanitizer.pl line 45.

Fix: 

Add the following line to the port, in the do-install section:

 ${INSTALL_DATA} ${WRKSRC}/bin/Anomy/Sanitizer/FileTypes.pm ${SITE_PERL}/Anomy/Sanitizer/
How-To-Repeat: Install mail/anomy-sanitizer from ports.  Try to run /usr/local/bin/sanitizer.pl
Comment 1 Cheng-Lung Sung freebsd_committer freebsd_triage 2006-07-25 09:54:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

I'll take care of it.
Comment 2 Cheng-Lung Sung freebsd_committer freebsd_triage 2006-07-25 09:54:56 UTC
State Changed
From-To: open->feedback

Awaiting maintainer's feedback.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2006-07-30 17:50:43 UTC
State Changed
From-To: feedback->open

Approved by maintainer in misfiled PR ports/101056.
Comment 4 Cheng-Lung Sung freebsd_committer freebsd_triage 2006-07-30 23:35:27 UTC
State Changed
From-To: open->closed

Committed. Thank You.