From musha@ms.tokyo.jcom.ne.jp  Fri Dec 10 09:22:16 1999
Return-Path: <musha@ms.tokyo.jcom.ne.jp>
Received: from ms.tokyo.jcom.ne.jp (ms.tokyo.jcom.ne.jp [210.234.123.18])
	by hub.freebsd.org (Postfix) with ESMTP id B359D157D9
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 10 Dec 1999 09:22:09 -0800 (PST)
	(envelope-from musha@ms.tokyo.jcom.ne.jp)
Received: from daemon.local.idaemons.org (pc343031.tokyo.jcom.ne.jp [203.140.143.31])
	by ms.tokyo.jcom.ne.jp (8.9.1/3.7W 06/01/99) with ESMTP id CAA10202
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 11 Dec 1999 02:22:07 +0900 (JST)
Received: by daemon.local.idaemons.org (8.9.3/3.7W) id CAA83608; Sat, 11 Dec 1999 02:21:36 +0900 (JST)
Message-Id: <86u2lqemow.wl@localhost.local.idaemons.org>
Date: Sat, 11 Dec 1999 02:21:35 +0900
From: Akinori MUSHA aka knu <knu@idaemons.org>
Sender: musha@ms.tokyo.jcom.ne.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: www/p5-CGI: Wrong BUILD_DEPENDS?

>Number:         15404
>Category:       ports
>Synopsis:       www/p5-CGI: Wrong BUILD_DEPENDS?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jfitz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 10 09:30:00 PST 1999
>Closed-Date:    Sun Feb 27 18:36:30 PST 2000
>Last-Modified:  Sun Feb 27 18:38:06 PST 2000
>Originator:     Akinori MUSHA aka knu <knu@idaemons.org>
>Release:        FreeBSD 3.4-RC i386
>Organization:
A.I.D.
>Environment:

	FreeBSD 3.4-RC i386 + ports-current

>Description:

	Makefile of www/p5-CGI seems to have wrong BUILD_DEPENDS,
which says:

BUILD_DEPENDS= 	${PREFIX}/lib/perl5/site_perl/URI/Escape.pm:${PORTSDIR}/www/p5-libwww

But I think:

1. www/p5-libwww doesn't install the module URI/Escape.pm.
2. Perl modules aren't installed under ${PREFIX}/lib/perl5/site_perl,
but ${PREFIX}/lib/perl5/site_perl/${PERL_VER}.

>How-To-Repeat:

	$ make

>Fix:

--- Makefile.orig	Wed Sep  1 08:25:44 1999
+++ Makefile	Sat Dec 11 02:11:43 1999
@@ -14,7 +14,7 @@
 
 MAINTAINER=	jfitz@FreeBSD.org
 
-BUILD_DEPENDS= 	${PREFIX}/lib/perl5/site_perl/URI/Escape.pm:${PORTSDIR}/www/p5-libwww
+BUILD_DEPENDS= 	${PREFIX}/lib/perl5/site_perl/${PERL_VER}/LWP.pm:${PORTSDIR}/www/p5-libwww
 
 USE_PERL5=	YES
 

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->jfitz 
Responsible-Changed-By: jedgar 
Responsible-Changed-When: Fri Dec 24 05:45:02 PST 1999 
Responsible-Changed-Why:  
Over to maintainer. 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Feb 27 18:36:30 PST 2000 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
