Subject: pkg/30737: p5-libwww install incomplete
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joern@TechFak.Uni-Bielefeld.DE>
List: pkgsrc-bugs
Date: 07/12/2005 20:11:00
>Number:         30737
>Category:       pkg
>Synopsis:       p5-libwww install incomplete
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 12 20:11:00 +0000 2005
>Originator:     Joern Clausen
>Release:        2.0
>Organization:
>Environment:
NetBSD mini 2.0 NetBSD 2.0 (MINI) #0: Sun Jan 23 23:13:25 CET 2005  root@mini:/export/usr/source/NetBSD-2.0/usr/src/sys/arch/i386/compile/MINI i386

>Description:
The module libwww-perl (p5-libwww in pkgsrc) contains the IMHO useful script lwp-request (and a few other), which are not installed by pkgsrc.
>How-To-Repeat:
cd /usr/pkgsrc/www/p5-libwww; make install
>Fix:
Change in Makefile.PL

   @programs_to_install = () if $opt_n || grep /^LIB=/, @ARGV;

to

   @programs_to_install = () if $opt_n;

At least I guess, I don't know if "perl Makefile.PL" is run with any options. This is the easiest fix if installing libwww-perl outside the regular perl directory tree (when LIB is actually defined).