Subject: Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?
From: "Max Bowsher" <[email-masked]>
To: "Max Bowsher" <[email-masked]>, "Gerrit P. Haase" <[email-masked]>, <[email-masked]>
Cc: "Igor Pechtchanski" <[email-masked]>
Date: Sun, 29 Sep 2002 22:35:36 +0100

Max Bowsher wrote:
> I have found the problem! If an alternate perl library directory is passed
like
> so:
> $ perl Makefile.PL LIB=/opt/perl5lib
>
> Then LWP's Makefile.PL fails to ask the questions.
>
> So the answer is to fix Makefile.PL.

The following 1 line patch fixes the problem. Anyone familiar with LWP patch
procedures? Otherwise, I'll go and subscribe to YAML :-)

Max.

--- Makefile.PL.orig 2002-05-31 21:51:03.000000000 +0100
+++ Makefile.PL 2002-09-29 22:26:08.000000000 +0100
@@ -22,7 +22,7 @@
 unless (getopts("n")) {
     die "Usage: $0 [-n]\n";
 }
-@programs_to_install = () if $opt_n || grep /^LIB=/, @ARGV;
+@programs_to_install = @request_aliases = () if $opt_n || grep /^LIB=/, @ARGV;

 # Check if we should try to run the live tests
 open(CHANGES, "Changes") || die "Can't open Changes: $!";

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/