summaryrefslogtreecommitdiff
path: root/ext/DB_File
diff options
context:
space:
mode:
Diffstat (limited to 'ext/DB_File')
-rw-r--r--ext/DB_File/DB_File.pm2
-rw-r--r--ext/DB_File/Makefile.PL1
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')
: ()