freebsd-ports/www/p5-POE-Component-Server-SimpleHTTP/files/patch-Makefile.PL
2008-02-19 08:53:00 +00:00

33 lines
1.2 KiB
Perl

--- ./Makefile.PL.orig Tue Feb 19 09:43:14 2008
+++ ./Makefile.PL Tue Feb 19 09:45:48 2008
@@ -17,30 +17,4 @@
requires 'HTTP::Request' => 0;
requires 'HTTP::Response' => 0;
-build_requires 'Test::More' => 0.47;
-build_requires 'LWP::UserAgent' => 0;
-build_requires 'LWP::ConnCache' => 0;
-
-my $value = prompt( 'Do you want to test streaming ( requires POE::Component::Client::HTTP ) [y/N]?', 'N' );
-build_requires 'POE::Component::Client::HTTP' => 0.82 if $value =~ /^Y$/i;
-
-# Ask users if they want SSL support
-$value = prompt( 'Do you want SSL support ( requires POE::Component::SSLify ) [y/N]?', 'N' );
-
-# Add to the prereqs PoCo::SSLify?
-requires 'POE::Component::SSLify' => '0.04' if $value =~ /^Y$/i;
-
-# Ask users if they want PreFork support
-$value = prompt( 'Do you want PreFork support ( requires IPC::Shareable ) [y/N]?', 'N' );
-
-# Add to the prereqs IPC::Shareable?
-if ( $value =~ /^Y$/i ) {
- requires 'IPC::Shareable' => '0';
- build_requires 'POE::Component::Client::HTTP' => 0.82;
-}
-
-# Sanity check
-eval { require IPC::Shareable; };
-build_requires 'POE::Component::Client::HTTP' => 0.82 unless $@;
-
WriteAll();