pkgsrc/databases/p5-DB_File/patches/patch-aa
obache cf84b8ef6a Update p5-DB_File to 1.815.
Patch provided by Mark E. Perkins in PR 36465.

1.815 4 February 2007

   * A few casting cleanups for building with C++ from Steve Peters.

   * Fixed problem with recno which happened if you changed directory after
     opening the database. Problem reported by Andrew Pam.
2007-06-10 08:24:13 +00:00

34 lines
1.1 KiB
Text

$NetBSD: patch-aa,v 1.5 2007/06/10 08:24:13 obache Exp $
--- Makefile.PL.orig 2007-02-02 17:54:20.000000000 -0500
+++ Makefile.PL
@@ -7,7 +7,7 @@ use Config ;
die "DB_File needs Perl 5.004_05 or better. This is $]\n"
if $] <= 5.00404;
-my $VER_INFO ;
+my $VER_INFO = "";
my $LIB_DIR ;
my $INC_DIR ;
my $DB_NAME ;
@@ -66,7 +66,7 @@ WriteMakefile(
'depend' => { 'Makefile' => 'config.in',
'version$(OBJ_EXT)' => 'version.c'},
'clean' => { FILES => 'constants.h constants.xs' },
- 'macro' => { INSTALLDIRS => 'perl', my_files => "@files" },
+ 'macro' => { my_files => "@files" },
'dist' => { COMPRESS => 'gzip', SUFFIX => 'gz',
DIST_DEFAULT => 'MyDoubleCheck tardist'},
);
@@ -250,9 +250,9 @@ sub ParseCONFIG
my $PREFIX = $Info{'PREFIX'} ;
my $HASH = $Info{'HASH'} ;
- $VER_INFO = "-DmDB_Prefix_t=${PREFIX} -DmDB_Hash_t=${HASH}" ;
+ # $VER_INFO = "-DmDB_Prefix_t=${PREFIX} -DmDB_Hash_t=${HASH}" ;
- print <<EOM if 0 ;
+ print <<EOM if 1 ;
INCLUDE [$INC_DIR]
LIB [$LIB_DIR]
HASH [$HASH]