summaryrefslogtreecommitdiff
path: root/databases/p5-DB_File/patches/patch-aa
blob: b2d569355b5d6fcd714e90cf46ccab4051fc9071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$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]