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/GDBM_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/GDBM_File')
-rw-r--r-- | ext/GDBM_File/GDBM_File.pm | 2 | ||||
-rw-r--r-- | ext/GDBM_File/Makefile.PL | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/GDBM_File/GDBM_File.pm b/ext/GDBM_File/GDBM_File.pm index 32dfcfde22..db4a11a643 100644 --- a/ext/GDBM_File/GDBM_File.pm +++ b/ext/GDBM_File/GDBM_File.pm @@ -69,7 +69,7 @@ use XSLoader (); ); $VERSION = "1.08_01"; -$VERSION = eval $VERSION; +$VERSION = eval $VERSION; # Needed for dev versions sub AUTOLOAD { my($constname); diff --git a/ext/GDBM_File/Makefile.PL b/ext/GDBM_File/Makefile.PL index 5c4f2d5134..1286dcd670 100644 --- a/ext/GDBM_File/Makefile.PL +++ b/ext/GDBM_File/Makefile.PL @@ -7,6 +7,7 @@ WriteMakefile( XSPROTOARG => '-noprototypes', # XXX remove later? VERSION_FROM => 'GDBM_File.pm', realclean => {FILES=> 'const-c.inc const-xs.inc'}, + XS_VERSION => eval MM->parse_version('GDBM_File.pm'), #silence warnings if we are a dev release ); WriteConstants( NAME => 'GDBM_File', |