Subject: pkg/33247: package p5-Kwiki-Users-Remote needs to depend on p5-Kwiki-UserName
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <drankin@bohemians.lexington.ky.us>
List: pkgsrc-bugs
Date: 04/12/2006 20:05:01
>Number:         33247
>Category:       pkg
>Synopsis:       package p5-Kwiki-Users-Remote needs to depend on p5-Kwiki-UserName
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 12 20:05:01 +0000 2006
>Originator:     David Rankin
>Release:        NetBSD 2.0
>Organization:
Bohemians Unincorporated
>Environment:
	
	
System: NetBSD hilda 2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec 1 10:58:25 UTC 2004 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
When configuring Kwiki with p5-Kwiki-Users-Remote and implement the
Kwiki::UserName::Remote class provided, perl throws "unimplemented class"
errors because Kwiki::UserName isn't installed. The latter is provided
by p5-Kwiki-UserName, so p5-Kwiki-Users-Remote needs a DEPENDS statement
to p5-Kwiki-UserName in the Makefile.
>How-To-Repeat:
(see above)
>Fix:

Apply this patch to p5-Kwiki-Users-Remote/Makefile

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/p5-Kwiki-Users-Remote/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	4 Mar 2006 21:31:02 -0000	1.2
+++ Makefile	12 Apr 2006 19:49:51 -0000
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.2 2006/03/04 21:31:02 jlam Exp $
 
 DISTNAME=      	Kwiki-Users-Remote-0.04
+PKGREVISION=	1
 PKGNAME=       	p5-${DISTNAME}
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Kwiki/}
@@ -10,6 +11,7 @@
 COMMENT=	Kwiki plugin to automatically set user name from HTTP authentication
 
 DEPENDS+=	p5-Kwiki>=0.37nb1:../../www/p5-Kwiki
+DEPENDS+=	p5-Kwiki-UserName>=0.14:../../www/p5-Kwiki-UserName
 
 PERL5_PACKLIST=		auto/Kwiki/Users/Remote/.packlist
 

>Unformatted: