|
|
@ -20,35 +20,26 @@ |
|
|
|
# |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
--- ./ext/DB_File/config.in.orig 2003-07-07 22:12:50.000000000 -0400
|
|
|
|
+++ ./ext/DB_File/config.in 2003-07-07 22:16:44.000000000 -0400
|
|
|
|
@@ -9,18 +9,20 @@
|
|
|
|
# Change the path below to point to the directory where db.h is |
|
|
|
# installed on your system. |
|
|
|
|
|
|
|
-INCLUDE = /usr/local/BerkeleyDB/include
|
|
|
|
+#INCLUDE = /usr/local/BerkeleyDB/include
|
|
|
|
#INCLUDE = /usr/local/include |
|
|
|
#INCLUDE = /usr/include |
|
|
|
+INCLUDE = /usr/include/db3
|
|
|
|
|
|
|
|
# 2. Where is libdb? |
|
|
|
# |
|
|
|
# Change the path below to point to the directory where libdb is |
|
|
|
# installed on your system. |
|
|
|
|
|
|
|
-LIB = /usr/local/BerkeleyDB/lib
|
|
|
|
+#LIB = /usr/local/BerkeleyDB/lib
|
|
|
|
#LIB = /usr/local/lib |
|
|
|
#LIB = /usr/lib |
|
|
|
+LIB = /usr/lib
|
|
|
|
Force perl5 to use bdb33, compatibility reasons. |
|
|
|
|
|
|
|
--- ./ext/DB_File/Makefile.PL.orig 2003-09-28 09:29:41.000000000 -0400
|
|
|
|
+++ ./ext/DB_File/Makefile.PL 2003-09-28 09:31:37.000000000 -0400
|
|
|
|
@@ -8,15 +8,15 @@
|
|
|
|
# OS2 is a special case, so check for it now. |
|
|
|
my $OS2 = "-DOS2" if $Config{'osname'} eq 'os2' ; |
|
|
|
|
|
|
|
# 3. What version of Berkely DB have you got? |
|
|
|
# |
|
|
|
@@ -93,5 +95,6 @@
|
|
|
|
# you have picked. |
|
|
|
|
|
|
|
#DBNAME = -ldb-2.4.10 |
|
|
|
+DBNAME = -ldb-3
|
|
|
|
-my $LIB = "-ldb" ;
|
|
|
|
+my $LIB = "-ldb-3" ;
|
|
|
|
# so is win32 |
|
|
|
$LIB = "-llibdb" if $^O eq 'MSWin32' ; |
|
|
|
|
|
|
|
# end of file config.in |
|
|
|
WriteMakefile( |
|
|
|
NAME => 'DB_File', |
|
|
|
- LIBS => ["-L/usr/local/lib $LIB"],
|
|
|
|
+ LIBS => ["-L/usr/lib $LIB"],
|
|
|
|
MAN3PODS => {}, # Pods will be built by installman. |
|
|
|
- #INC => '-I/usr/local/include',
|
|
|
|
+ INC => '-I/usr/include/db3',
|
|
|
|
VERSION_FROM => 'DB_File.pm', |
|
|
|
OBJECT => 'version$(OBJ_EXT) DB_File$(OBJ_EXT)', |
|
|
|
XSPROTOARG => '-noprototypes', |