diff options
Diffstat (limited to 'databases/p5-DB_File/patches/patch-aa')
-rw-r--r-- | databases/p5-DB_File/patches/patch-aa | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/databases/p5-DB_File/patches/patch-aa b/databases/p5-DB_File/patches/patch-aa index f3c32cee71b..7c49f37174d 100644 --- a/databases/p5-DB_File/patches/patch-aa +++ b/databases/p5-DB_File/patches/patch-aa @@ -1,8 +1,17 @@ -$NetBSD: patch-aa,v 1.3 2004/11/15 18:42:04 jlam Exp $ +$NetBSD: patch-aa,v 1.4 2005/11/11 20:14:51 heinz Exp $ ---- Makefile.PL.orig 2002-06-22 05:35:48.000000000 -0400 +--- Makefile.PL.orig Wed Aug 31 23:29:18 2005 +++ Makefile.PL -@@ -51,7 +51,7 @@ WriteMakefile( +@@ -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 ; +@@ -54,7 +54,7 @@ WriteMakefile( 'depend' => { 'Makefile' => 'config.in', 'version$(OBJ_EXT)' => 'version.c'}, 'clean' => { FILES => 'constants.h constants.xs' }, @@ -11,16 +20,7 @@ $NetBSD: patch-aa,v 1.3 2004/11/15 18:42:04 jlam Exp $ '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 +@@ -238,9 +238,9 @@ sub ParseCONFIG my $PREFIX = $Info{'PREFIX'} ; my $HASH = $Info{'HASH'} ; |