Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 06:19:14 -0400 (EDT)
From:      parv@pair.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        petef@FreeBSD.org
Subject:   ports/88019: PATCH - graphics/p5-Graphics-ColorNames does not install required & Module::Load module
Message-ID:  <20051026101914.BDB1BB4F8@default.chvlva.adelphia.net>
Resent-Message-ID: <200510261020.j9QAKIpN083032@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88019
>Category:       ports
>Synopsis:       PATCH - graphics/p5-Graphics-ColorNames does not install required & Module::Load  module
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 26 10:20:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Parv
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:

ports updated on 2005.10.26.04.37.16 UTC.

>Description:

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'

>Fix:

--- 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
+
 MAN3=	Graphics::ColorNames.3 \
 	Graphics::ColorNames::HTML.3 \
 	Graphics::ColorNames::Netscape.3 \
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051026101914.BDB1BB4F8>