Opened 21 years ago

Closed 21 years ago

Last modified 9 years ago

#1341 closed update (fixed)

Update db4 to 4.2.52

Reported by: danielluke (Daniel J. Luke) Owned by: michaelm@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: db4

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Version bump (the latest subversion snapshot recommends this version of berkeleydb).

Diff inline:

--- Portfile    3 Nov 2003 16:51:28 -0000       1.17
+++ Portfile    29 Dec 2003 17:35:35 -0000
@@ -2,8 +2,7 @@
 
 PortSystem 1.0
 name           db4
-version                4.1.25
-revision        1
+version                4.2.52
 categories     databases
 maintainers    michaelm@opendarwin.org
 description    The Berkely DB package, revision 4
@@ -11,11 +10,11 @@
 platforms      darwin freebsd
 master_sites   http://www.sleepycat.com/update/snapshot/
 distname       db-${portversion}
-checksums      md5 df71961002b552c0e72c6e4e358f27e1
+checksums      md5 cbc77517c9278cdb47613ce8cb55779f
 worksrcdir     ${distname}/build_unix
 configure.cmd  ../dist/configure
 configure.args --enable-compat185 --enable-dump185 --enable-cxx \
-                  --enable-dynamic --includedir=${prefix}/include/db4 \
+                               --includedir=${prefix}/include/db4 \
                   --program-transform-name=s,^db,db4,
 
 platform darwin 7 { configure.args-append   --enable-tcl \
@@ -24,6 +23,8 @@
 platform darwin 6 { configure.args-append   --enable-tcl \
                 --with-tcl=/System/Library/Tcl/8.3 }
 
+variant java { configure.args-append --enable-java }
+
 destroot.destdir  prefix=${destroot}${prefix} \
                     includedir=${destroot}${prefix}/include/db4 \
                     docdir=${destroot}${prefix}/share/${name}-${version}/
@@ -45,7 +46,6 @@
                       mv db_load db4_load
                       mv db_stat db4_stat"
 }
-
 
 long_description Revision 4 of the Berkeley DB library. This version \
                 uses an incompatible underlying database format than \

Attachments (1)

Portfile (2.5 KB) - added by danielluke (Daniel J. Luke) 21 years ago.
Updated portfile

Download all attachments as: .zip

Change History (4)

comment:1 Changed 21 years ago by danielluke (Daniel J. Luke)

a test on my darwin 6 system reveals that it requires tcl 8.4, so the darwin 6 variant needs to add a dependency on darwinports tcl and then point db4 to ${prefix}/lib for tclConfig.sh

I'm not sure on the syntax for how to handle this situation, or I would have prepared a new portfile.

Optionally, the --with-tcl could be removed from the darwin 6 variant.

Changed 21 years ago by danielluke (Daniel J. Luke)

Attachment: Portfile added

Updated portfile

comment:2 Changed 21 years ago by michaelm@…

Resolution: fixed
Status: newclosed

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: db4 added
Type: defectupdate
Note: See TracTickets for help on using tickets.