dev version numbers, xs and warnings dont play together nicely, so use MM->parse_vers...
[p5sagit/p5-mst-13.2.git] / ext / DB_File / Makefile.PL
index d3a595f..93f3895 100644 (file)
@@ -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')
             : ()