freebsd-ports/www/p5-Maypole/files/patch-Makefile.PL
Lars Thegler 384d213bf2 - Update to 2.10
- Fixed mod_perl2 dependency lines [1]
- Make portlint happy

PR:		ports/82895 [1]
Submitted by:	Christopher Nehren <apeiron@coitusmentis.info> [1]
2005-07-22 15:39:19 +00:00

20 lines
763 B
Perl

--- Makefile.PL.orig Fri Jul 22 15:06:47 2005
+++ Makefile.PL Fri Jul 22 15:08:01 2005
@@ -24,7 +24,6 @@
HTTP::Headers => 1.59,
Template => 0,
Template::Plugin::Class => 0,
- Test::MockModule => 0,
Digest::MD5 => 0,
}, # e.g., Module::Name => 1.1
(
@@ -51,7 +50,7 @@
eval { require DBD::SQLite } or do {
print "Error loading DBD::SQLite, trying DBD::SQLite2\n";
eval {require DBD::SQLite2} ? $driver = 'SQLite2'
- : die "DBD::SQLite2 is not installed";
+ : do { warn "DBD::SQLite2 is not installed"; exit ; }
};
require DBI;
my $dbh = DBI->connect("dbi:$driver:dbname=t/beerdb.db");