[Bast-commits] r6990 - DBIx-Class/0.08/trunk
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sun Jul 5 22:06:53 GMT 2009
Author: ribasushi
Date: 2009-07-05 22:06:52 +0000 (Sun, 05 Jul 2009)
New Revision: 6990
Modified:
DBIx-Class/0.08/trunk/Makefile.PL
Log:
Couple of makefile fixes:
use is compile time, use require
recommends is for distro maintainers only, push the dependency into the authors hash (it is not to be executed by mere mortals)
Modified: DBIx-Class/0.08/trunk/Makefile.PL
===================================================================
--- DBIx-Class/0.08/trunk/Makefile.PL 2009-07-05 20:00:55 UTC (rev 6989)
+++ DBIx-Class/0.08/trunk/Makefile.PL 2009-07-05 22:06:52 UTC (rev 6990)
@@ -42,7 +42,6 @@
requires 'Sub::Name' => 0.04;
recommends 'SQL::Translator' => 0.09004;
-recommends 'Module::Install::Pod::Inherit' => '0.01';
install_script (qw|
script/dbicadmin
@@ -62,6 +61,7 @@
my %force_requires_if_author = (
'Test::Pod::Coverage' => 1.04,
+ 'Module::Install::Pod::Inherit' => 0.01,
'SQL::Translator' => 0.09007,
# CDBI-compat related
@@ -136,14 +136,13 @@
print "Removing MANIFEST\n";
unlink 'MANIFEST';
}
+
+ eval { require Module::Install::Pod::Inherit };
+ Module::Install::Pod::Inherit::PodInherit() if !$@;
}
auto_install();
-eval { use Module::Install::Pod::Inherit; };
-
-PodInherit() if(!$@ && $Module::Install::AUTHOR);
-
WriteAll();
# Re-write META.yml to _exclude_ all forced requires (we do not want to ship this)
More information about the Bast-commits
mailing list