diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2018-07-03 08:34:44 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2018-07-03 17:26:11 +0100 |
commit | 9003d70e62d94b53f19b26abf091589602b284e9 (patch) | |
tree | 7031fcaf11ff55daa623bb4278b8fcfb082b5080 /cpan/DB_File | |
parent | 9a27f4d06a78fda2cb1838e79f11f23fe8c95d83 (diff) | |
download | perl-9003d70e62d94b53f19b26abf091589602b284e9.tar.gz |
Upgrade DB_File from version 1.840 to 1.841
Diffstat (limited to 'cpan/DB_File')
-rw-r--r-- | cpan/DB_File/DB_File.pm | 2 | ||||
-rw-r--r-- | cpan/DB_File/Makefile.PL | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpan/DB_File/DB_File.pm b/cpan/DB_File/DB_File.pm index 5f4b764bc9..7a0051cde9 100644 --- a/cpan/DB_File/DB_File.pm +++ b/cpan/DB_File/DB_File.pm @@ -163,7 +163,7 @@ our ($db_version, $use_XSLoader, $splice_end_array_no_length, $splice_end_array, use Carp; -$VERSION = "1.840" ; +$VERSION = "1.841" ; $VERSION = eval $VERSION; # needed for dev releases { diff --git a/cpan/DB_File/Makefile.PL b/cpan/DB_File/Makefile.PL index f5ef7c85f8..03dbf96429 100644 --- a/cpan/DB_File/Makefile.PL +++ b/cpan/DB_File/Makefile.PL @@ -41,6 +41,10 @@ $OS2 = "-DOS2" if $Config{'osname'} eq 'os2' ; my $WALL = '' ; #$WALL = ' -Wall '; +# Only want ppport.h t to be used by DB_File.xs when not +# building this module with the perl source distribution. +my $CORE = $ENV{PERL_CORE} ? '' : '-D_NOT_CORE'; + WriteMakefile( NAME => 'DB_File', LIBS => ["-L${LIB_DIR} $LIBS"], @@ -48,7 +52,7 @@ WriteMakefile( VERSION_FROM => 'DB_File.pm', XS_VERSION => eval MM->parse_version('DB_File.pm'), XSPROTOARG => '-noprototypes', - DEFINE => "-D_NOT_CORE $OS2 $VER_INFO $COMPAT185 $WALL", + DEFINE => "$CORE $OS2 $VER_INFO $COMPAT185 $WALL", OBJECT => 'version$(OBJ_EXT) DB_File$(OBJ_EXT)', ((ExtUtils::MakeMaker->VERSION() gt '6.30') ? ('LICENSE' => 'perl') |