Subject: pkg/37430: irssi-0.8.12nb1 fails with perl support
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Robert Wappler <slrn_robert@yahoo.de>
List: pkgsrc-bugs
Date: 11/25/2007 12:50:01
>Number:         37430
>Category:       pkg
>Synopsis:       perl packlist .packlist is missing
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 25 12:50:00 +0000 2007
>Originator:     Robert Wappler
>Release:        NetBSD 3.1.0_PATCH
>Environment:
System: NetBSD robert-pickton 3.1.0_PATCH NetBSD 3.1.0_PATCH (ROBERT_PICKTON) #0: Sun Apr 29 02:57:40 CEST 2007 mary@robert-pickton:/usr/src/obj/sys/arch/i386/compile/ROBERT_PICKTON i386
Architecture: i386
Machine: i386
pkgsrc: cvs head from 2007/11/24 01:21 +0100 (CET)
>Description:
irssi fails to build with perl support despite PKG_OPTIONS.irssi
contains irssi-perl. The exact error message is "perl packlist
/usr/pkg/lib/perl5/vendor_perl/5.8.0/i386-netbsd-thread-multi/auto/Irssi/.packlist
is missing."
>How-To-Repeat:
Add irssi-perl to PKG_OPTIONS.irssi.
	 cd ${PKGSRCDIR}/chat/irssi && make update
>Fix:
Add "USE_TOOLS+=perl" to options.mk or use to following patch

--- options.mk.orig	2007-11-25 12:24:54.000000000 +0100
+++ options.mk	2007-11-25 11:47:57.000000000 +0100
@@ -6,6 +6,7 @@
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mirssi-perl)
+USE_TOOLS+=			perl
 PERL5_PACKLIST=		auto/Irssi/.packlist
 PERL5_PACKLIST+=	auto/Irssi/Irc/.packlist
 PERL5_PACKLIST+=	auto/Irssi/UI/.packlist