At 1:18 AM -0400 10/24/02, David Miller wrote:

> .... but only when you tell it not to install lwp-request
>
> If I okay it to install lwp-request, it prompts individually if you want
> HEAD, GET, and POST created, so I can tell it not to create those.  If you
> tell it not to install lwp-request, it never bothers to ask about the
> aliases, but then goes and creates them anyway.
>
> On Mac OS X, this results in /usr/bin/head getting overwritten because the
> file system isn't case sensitive.
>
> If you tell it not to install lwp-request, it should automatically not
> install the aliases, since there's no lwp-request for them to point at
> anyway.
>
> This was experienced with libwww-perl-5.65 fresh out of CPAN.

And again with libwww-perl-5.68

It appears if you tell it not to install lwp-request, it actually installs
a HEAD that really is lwp-request, rather than an alias to it.

The following seems to fix this:

--- Makefile.PL.orig    Mon Jan 20 01:53:54 2003
+++ Makefile.PL Mon Jan 20 02:04:42 2003
@@ -22,7 +22,10 @@
 unless (getopts("n")) {
     die "Usage: $0 [-n]\n";
 }
-@programs_to_install = () if $opt_n || grep /^LIB=/, @ARGV;
+if ($opt_n || grep /^LIB=/, @ARGV) {
+    @programs_to_install = ();
+    @request_aliases = ();
+}

 # Check if we should try to run the live tests
 open(CHANGES, "Changes") || die "Can't open Changes: $!";
@@ -130,6 +133,9 @@
            }
        }
        @request_aliases = @tmp;
+    }
+    else {
+        @request_aliases = ();
     }
 }


-- 
Dave Miller      Project Leader, Bugzilla Bug Tracking System
http://www.justdave.net/             http://www.bugzilla.org/

Reply via email to