From nobody@FreeBSD.org  Sun Mar  4 12:31:06 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 73A8F37B718
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 Mar 2001 12:31:06 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f24KV6M51035;
	Sun, 4 Mar 2001 12:31:06 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200103042031.f24KV6M51035@freefall.freebsd.org>
Date: Sun, 4 Mar 2001 12:31:06 -0800 (PST)
From: mvh@ix.netcom.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: ports/net/cricket port does dependencies incorrectly
X-Send-Pr-Version: www-1.0

>Number:         25530
>Category:       ports
>Synopsis:       ports/net/cricket port does dependencies incorrectly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 04 12:40:01 PST 2001
>Closed-Date:    Mon Oct 8 07:36:51 PDT 2001
>Last-Modified:  Mon Oct 08 07:37:44 PDT 2001
>Originator:     Mike Harding
>Release:        4.2-STABLE
>Organization:
NameSafe
>Environment:
FreeBSD netcom1.netcom.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Mar  3 16:37:48 PST 2001     mvh@netcom1.netcom.com:/usr/obj/usr/src/sys/MIKEIPF  i386

>Description:
The indicated port does an incorrect dependency check for some perl
modules and will continually bomb out during install after attempting
to install an installed port.

This appears to be because the dependencies are looking in the wrong
place for the perl libraries.

Also, PERL_VERSION is used to select the install directory and this
seems to be entirely incorrect.
>How-To-Repeat:
Try 'make install' in the port directory.  If it works the first time,
remove the port and try it again.
>Fix:
I tried replacing the following in the Makefile and it worked,
but I don't know if it's a general solution:

...
RUN_DEPENDS=	${SITE_PERL}/SNMP_Session.pm:${PORTSDIR}/net/p5-SNMP_Session \
		${SITE_PERL_ARCH}/RRDs.pm:${PORTSDIR}/net/rrdtool \
		${SITE_PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
		${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
		${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate \
		${SITE_PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes

SITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
SITE_PERL_ARCH= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}
...
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->torstenb 
Responsible-Changed-By: sf 
Responsible-Changed-When: Tue Mar 6 06:21:31 PST 2001 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25530 
State-Changed-From-To: open->closed 
State-Changed-By: sf 
State-Changed-When: Tue Mar 6 07:25:44 PST 2001 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=25530 
State-Changed-From-To: closed->open 
State-Changed-By: sf 
State-Changed-When: Tue Mar 6 07:25:58 PST 2001 
State-Changed-Why:  
Oops, my misoperation. re-opened. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25530 
Responsible-Changed-From-To: torstenb->freebsd-ports 
Responsible-Changed-By: sf 
Responsible-Changed-When: Sat Sep 22 13:02:34 PDT 2001 
Responsible-Changed-Why:  
Unresponsive maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25530 
State-Changed-From-To: open->analyzed 
State-Changed-By: tom 
State-Changed-When: Mon Oct 8 06:01:16 PDT 2001 
State-Changed-Why:  
I can't reproduce this problem with the latest version of the ports 
tree.  Please could you confirm whether this is still a problem? 

Is is possible that you have the required Perl modules installed in a 
non-standard directory?  Maybe you didn't install them using the ports 
tree, but with CPAN.pm or something similar. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25530 
State-Changed-From-To: analyzed->closed 
State-Changed-By: tom 
State-Changed-When: Mon Oct 8 07:36:51 PDT 2001 
State-Changed-Why:  
The originator of this PR notes the problem has now been fixed 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25530 
>Unformatted:
