1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/rt2/files/patch-tools-testdeps
Michael C . Wu f98d6d4825 Add rt2 2.0.14,
rT is an industrial-grade ticketing system written
in Perl.

PR:		41701
Submitted by:	plasma
2002-12-22 04:50:13 +00:00

16 lines
489 B
Plaintext

--- 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/);