Bug 88019 - [patch] graphics/p5-Graphics-ColorNames does not install required & Module::Load module
Summary: [patch] graphics/p5-Graphics-ColorNames does not install required & Module::L...
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: Pete Fritchman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 11:20 UTC by freebsd
Modified: 2005-11-30 12:05 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (314 bytes, patch)
2005-10-26 11:20 UTC, freebsd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2005-10-26 11:20:17 UTC
Use of graphics/p5-Graphics-ColorNames port ...

  perl -MGraphics::ColorNames -e '0'


... fails as the port does not install required Module::Load ...

  Can't locate Module/Load.pm in @INC (@INC contains: /misc/local/lib/perl5/site_perl/5.8.7/mach /misc/local/lib/perl5/site_perl/5.8.7 /misc/local/lib/perl5/site_perl/5.8.6 /misc/local/lib/perl5/site_perl /misc/local/lib/perl5/5.8.7/BSDPAN /misc/local/lib/perl5/5.8.7/mach /misc/local/lib/perl5/5.8.7 .) at /misc/local/lib/perl5/site_perl/5.8.7/Graphics/ColorNames.pm line 10.
  BEGIN failed--compilation aborted at /misc/local/lib/perl5/site_perl/5.8.7/Graphics/ColorNames.pm line 10.
  Compilation failed in require.
  BEGIN failed--compilation aborted.


Patch is attached to make Module::Load runtime dependency; please
review it.

How-To-Repeat: 
 cd /usr/ports/graphics/p5-Graphics-ColorNames \
 && perl -MGraphics::ColorNames -e '0'
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-10-26 11:24:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->petef

Over to maintainer
Comment 2 freebsd 2005-10-26 11:26:45 UTC
in message <20051026101914.BDB1BB4F8@default.chvlva.adelphia.net>,
wrote parv@pair.com thusly...
>
> --- Makefile.old	Wed Oct 26 06:08:52 2005
> +++ Makefile	Wed Oct 26 06:14:30 2005
> @@ -17,6 +17,8 @@
>  
>  PERL_CONFIGURE=	yes
>  
> +RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Module/Load.pm:${PORTSDIR}/devel/p5-Module-Load
...

Hmm ... it seems that use of $PERL_ARCH is incorrect.


  - Parv

--
Comment 3 Florent Thoumie freebsd_committer freebsd_triage 2005-11-30 12:05:26 UTC
State Changed
From-To: open->closed

Committed. Thanks!