]> git.decadent.org.uk Git - maypole.git/blobdiff - Makefile.PL
META file.
[maypole.git] / Makefile.PL
index 398f6abfaf3583e3e29829282f74d5da44169b40..7ba8922a4316de78f87c0f039fe2d314924ae49c 100644 (file)
@@ -6,10 +6,10 @@ WriteMakefile(
     NAME              => 'Apache::MVC',
     VERSION_FROM      => 'lib/Apache/MVC.pm', # finds $VERSION
     PREREQ_PM         => {
-        DBD::SQLite => 0, # For testing
         Class::DBI::Loader => 0,
         Class::DBI::AbstractSearch => 0,
         Class::DBI::Pager => 0,
+        Class::DBI::Plugin::RetrieveAll => 0,
         Class::DBI::AsForm => 0,
         Class::DBI::FromCGI => 0,
         Class::DBI::Loader::Relationship => 0,
@@ -26,7 +26,8 @@ WriteMakefile(
 
 if (!-e "t/beerdb.db") {
     print "Making SQLite DB\n";
-    require DBD::SQLite;
+    require DBD::SQLite 
+        or die "No, wait, we don't have SQLite installed. Never mind\n";
     require DBI;
     my $dbh = DBI->connect("dbi:SQLite:dbname=t/beerdb.db");