summaryrefslogtreecommitdiff
path: root/www/rt34/files/patch-tools-testdeps
diff options
context:
space:
mode:
Diffstat (limited to 'www/rt34/files/patch-tools-testdeps')
-rw-r--r--www/rt34/files/patch-tools-testdeps15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/rt34/files/patch-tools-testdeps b/www/rt34/files/patch-tools-testdeps
new file mode 100644
index 000000000000..b4e392a23cec
--- /dev/null
+++ b/www/rt34/files/patch-tools-testdeps
@@ -0,0 +1,15 @@
+--- tools/testdeps Thu Feb 28 14:38:10 2002
++++ tools/testdeps Thu Aug 15 16:43:45 2002
+@@ -107,7 +107,11 @@
+ $module = "DBD::mysql::Install" if ($module =~ /DBD::mysql/);
+
+ print "Installing with CPAN...";
+- CPAN::install($module);
++ require CPAN::FirstTime; # shut up configuration
++ no strict 'refs';
++ local $^W;
++ *{'ExtUtils::MakeMaker::prompt'} = sub ($;$) { '' };
++ CPAN::force('install', $module);
+ }
+ print "\n";
+ exit(1) if ($mode =~ /-q/);