diff options
author | Yves Orton <demerphq@gmail.com> | 2008-01-07 00:20:33 +0000 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2008-01-07 00:20:33 +0000 |
commit | a5d81eb5c72c6ae2575e817ef85e223d6d016dcb (patch) | |
tree | 8e21ca90422b8e7f80ac409c5fbb025d6c724289 /ext/DB_File | |
parent | f84167b37281b9fdf1ae6a39e5b09c601c781ffa (diff) | |
download | perl-a5d81eb5c72c6ae2575e817ef85e223d6d016dcb.tar.gz |
dev version numbers, xs and warnings dont play together nicely, so use MM->parse_version() to smooth over the cracks....
p4raw-id: //depot/perl@32884
Diffstat (limited to 'ext/DB_File')
-rw-r--r-- | ext/DB_File/DB_File.pm | 2 | ||||
-rw-r--r-- | ext/DB_File/Makefile.PL | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/DB_File/DB_File.pm b/ext/DB_File/DB_File.pm index e8e0c005f6..7bd2b2bcdf 100644 --- a/ext/DB_File/DB_File.pm +++ b/ext/DB_File/DB_File.pm @@ -166,7 +166,7 @@ use Carp; $VERSION = "1.816_2" ; -$VERSION = eval $VERSION; +$VERSION = eval $VERSION; # needed for dev releases { local $SIG{__WARN__} = sub {$splice_end_array = "@_";}; diff --git a/ext/DB_File/Makefile.PL b/ext/DB_File/Makefile.PL index d3a595f8fd..93f3895da2 100644 --- a/ext/DB_File/Makefile.PL +++ b/ext/DB_File/Makefile.PL @@ -22,6 +22,7 @@ WriteMakefile( XSPROTOARG => '-noprototypes', DEFINE => $OS2 || "", INC => ($^O eq "MacOS" ? "-i ::::db:include" : ""), + XS_VERSION => eval MM->parse_version('DB_File.pm'), ((ExtUtils::MakeMaker->VERSION() gt '6.30') ? ('LICENSE' => 'perl') : () |