Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2001 19:00:03 -0800 (PST)
From:      Christopher Elkins <chrise@scardini.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32486: www/p5-WWW-Babelfish should depend on devel/p5-IO-String
Message-ID:  <200112040300.fB4303u55421@tlon.lan.scardini.com>

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

>Number:         32486
>Category:       ports
>Synopsis:       www/p5-WWW-Babelfish should depend on devel/p5-IO-String
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 03 19:10:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Elkins
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD tlon.lan.scardini.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Fri Nov 30 17:22:23 PST 2001 chrise@tlon.lan.scardini.com:/usr/src/sys/compile/TLON i386


	
>Description:
www/p5-WWW-Babelfish has a runtime dependency on devel/p5-IO-String. If
IO::String.pm doesn't exist, you get an error like the following when
executing a script that uses WWW::Babelfish:

Can't locate IO/String.pm in @INC (@INC contains: /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at /usr/local/lib/perl5/site_perl/5.005/WWW/Babelfish.pm line 22, <DATA> chunk 189.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/WWW/Babelfish.pm line 22, <DATA> chunk 189.
BEGIN failed--compilation aborted at ./translate line 8, <DATA> chunk 189.

>How-To-Repeat:
Make sure devel/p5-IO-String isn't installed. Execute a script that uses
www/p5-WWW-Babelfish.
>Fix:

diff -c -r p5-WWW-Babelfish.orig/Makefile p5-WWW-Babelfish/Makefile
*** p5-WWW-Babelfish.orig/Makefile	Mon Dec  3 18:29:19 2001
--- p5-WWW-Babelfish/Makefile	Mon Dec  3 18:53:14 2001
***************
*** 14,20 ****
  
  MAINTAINER=	ports@FreeBSD.org
  
! BUILD_DEPENDS=	${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww
  RUN_DEPENDS=	${BUILD_DEPENDS}
  
  SITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
--- 14,21 ----
  
  MAINTAINER=	ports@FreeBSD.org
  
! BUILD_DEPENDS=	${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
! 		${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String
  RUN_DEPENDS=	${BUILD_DEPENDS}
  
  SITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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