$NetBSD: patch-aa,v 1.3 2004/11/15 18:42:04 jlam Exp $ --- Makefile.PL.orig 2002-06-22 05:35:48.000000000 -0400 +++ Makefile.PL @@ -51,7 +51,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'}, ); @@ -214,7 +214,7 @@ sub ParseCONFIG $INC_DIR = $ENV{'DB_FILE_INCLUDE'} || $Info{'INCLUDE'} ; $LIB_DIR = $ENV{'DB_FILE_LIB'} || $Info{'LIB'} ; - $DB_NAME = $Info{'DBNAME'} if defined $Info{'DBNAME'} ; + $DB_NAME = $ENV{'DB_NAME'} || $Info{'DBNAME'} ; $COMPAT185 = "-DCOMPAT185 -DDB_LIBRARY_COMPATIBILITY_API" if (defined $ENV{'DB_FILE_COMPAT185'} && $ENV{'DB_FILE_COMPAT185'} =~ /^\s*(on|true|1)\s*$/i) || @@ -222,9 +222,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 <