Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated for 1.8.0 release.

git-svn-id: http://svn.bricolage.cc/trunk/distutils/BricolagePlus@5229 d891ef98-e4d9-0310-886a-e7f4d30e8d80
  • Loading branch information...
commit c79461b16e0dcb5204bd2c0f712cfd754f8c61f0 1 parent acee11e
@theory theory authored
Showing with 16 additions and 14 deletions.
  1. +7 −8 META.yml
  2. +9 −6 Makefile.PL
View
15 META.yml
@@ -1,14 +1,13 @@
--- #YAML:1.0
name: Bundle-BricolagePlus
-version: 1.6.1
+version: 1.8.0
+author:
+ - David Wheeler <david@wheeler.net>
+abstract: |-
+ Optional and Required modules for the Bricolage content management system.
license: perl
-distribution_type: module
-requires: {}
-recommends: {}
-build_requires: {}
-conflicts: {}
provides:
Bundle::BricolagePlus:
file: lib/Bundle/BricolagePlus.pm
- version: 1.6.1
-generated_by: Module::Build version 0.19_05
+ version: 1.8.0
+generated_by: Module::Build version 0.25
View
15 Makefile.PL
@@ -1,4 +1,5 @@
-
+# Note: this file was auto-generated by Module::Build::Compat version 0.03
+
unless (eval "use Module::Build::Compat 0.02; 1" ) {
print "This module requires Module::Build to install itself.\n";
@@ -7,10 +8,9 @@
(' Install Module::Build now from CPAN?', 'y');
unless ($yn =~ /^y/i) {
- warn " *** Cannot install without Module::Build. Exiting ...\n";
- exit 1;
+ die " *** Cannot install without Module::Build. Exiting ...\n";
}
-
+
require Cwd;
require File::Spec;
require CPAN;
@@ -19,10 +19,13 @@
my $cwd = Cwd::cwd();
my $makefile = File::Spec->rel2abs($0);
- CPAN::Shell->install('Module::Build::Compat');
+ CPAN::Shell->install('Module::Build::Compat')
+ or die " *** Cannot install without Module::Build. Exiting ...\n";
chdir $cwd or die "Cannot chdir() back to $cwd: $!";
exec $^X, $makefile, @ARGV; # Redo now that we have Module::Build
}
+ use lib '_build/lib';
Module::Build::Compat->run_build_pl(args => \@ARGV);
- Module::Build::Compat->write_makefile();
+ require Module::Build;
+ Module::Build::Compat->write_makefile(build_class => 'Module::Build');
Please sign in to comment.
Something went wrong with that request. Please try again.