pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc Build databases/db4 with the DB-1.85 compatability...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2f4ca95cfa1
branches:  trunk
changeset: 470901:c2f4ca95cfa1
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Mar 12 21:35:58 2004 +0000

description:
Build databases/db4 with the DB-1.85 compatability layer and bump the
PKGREVISION.  This allows using db4 as BDB_DEFAULT for packages that
USE_DB185.

diffstat:

 databases/db4/Makefile      |  12 +++++++-----
 databases/db4/PLIST         |   3 ++-
 databases/db4/buildlink3.mk |   3 ++-
 doc/CHANGES                 |   3 ++-
 4 files changed, 13 insertions(+), 8 deletions(-)

diffs (90 lines):

diff -r 6eaed36593b7 -r c2f4ca95cfa1 databases/db4/Makefile
--- a/databases/db4/Makefile    Fri Mar 12 21:33:28 2004 +0000
+++ b/databases/db4/Makefile    Fri Mar 12 21:35:58 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2004/02/14 17:21:35 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2004/03/12 21:35:58 jlam Exp $
 
 DISTNAME=              db-4.2.52
 PKGNAME=               ${DISTNAME:S/db/db4/}
+PKGREVISION=           1
 CATEGORIES=            databases
 MASTER_SITES=  http://www.sleepycat.com/update/snapshot/
 
@@ -12,15 +13,16 @@
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 WRKSRC=                        ${WRKDIR}/${DISTNAME}/build_unix
-USE_BUILDLINK3=                YES
+USE_BUILDLINK3=                yes
 USE_LANGUAGES=         c c++
-USE_LIBTOOL=           YES
-GNU_CONFIGURE=         YES
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
 CONFIGURE_SCRIPT=      ../dist/configure
 
 CONFIGURE_ARGS+=       --enable-cxx
 CONFIGURE_ARGS+=       --enable-rpc
 CONFIGURE_ARGS+=       --enable-shared
+CONFIGURE_ARGS+=       --enable-compat185
 CONFIGURE_ARGS+=       --includedir=${PREFIX}/include/db4
 CONFIGURE_ARGS+=       --program-transform-name=s,db_,db4_,
 
@@ -29,7 +31,7 @@
 FC=     ${FALSE}
 F77=    ${FALSE}
 
-.if defined(WITH_JAVA) && (${WITH_JAVA} == "YES")
+.if defined(WITH_JAVA) && (${WITH_JAVA} == "yes")
 CONFIGURE_ARGS+=       --enable-java
 .  include "../../mk/java-vm.mk"
 .endif
diff -r 6eaed36593b7 -r c2f4ca95cfa1 databases/db4/PLIST
--- a/databases/db4/PLIST       Fri Mar 12 21:33:28 2004 +0000
+++ b/databases/db4/PLIST       Fri Mar 12 21:35:58 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2003/12/07 00:51:07 epg Exp $
+@comment $NetBSD: PLIST,v 1.4 2004/03/12 21:35:58 jlam Exp $
 bin/berkeley_db4_svc
 bin/db4_archive
 bin/db4_checkpoint
@@ -11,6 +11,7 @@
 bin/db4_upgrade
 bin/db4_verify
 include/db4/db.h
+include/db4/db_185.h
 include/db4/db_cxx.h
 lib/libdb4-4.2.a
 lib/libdb4-4.2.la
diff -r 6eaed36593b7 -r c2f4ca95cfa1 databases/db4/buildlink3.mk
--- a/databases/db4/buildlink3.mk       Fri Mar 12 21:33:28 2004 +0000
+++ b/databases/db4/buildlink3.mk       Fri Mar 12 21:35:58 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2004/03/12 02:21:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2004/03/12 21:35:58 jlam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 DB4_BUILDLINK3_MK:=    ${DB4_BUILDLINK3_MK}+
@@ -15,6 +15,7 @@
 BUILDLINK_PKGSRCDIR.db4?=      ../../databases/db4
 
 .if defined(USE_DB185)
+BUILDLINK_DEPENDS.db4+=        db4>=4.2.52nb1  # older ones didn't enable 1.85 compat
 BUILDLINK_INCDIRS.db4?=        include/db4
 BUILDLINK_TRANSFORM+=  l:db:db4
 .endif
diff -r 6eaed36593b7 -r c2f4ca95cfa1 doc/CHANGES
--- a/doc/CHANGES       Fri Mar 12 21:33:28 2004 +0000
+++ b/doc/CHANGES       Fri Mar 12 21:35:58 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.5241 2004/03/12 20:08:41 wiz Exp $
+$NetBSD: CHANGES,v 1.5242 2004/03/12 21:36:09 jlam Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -1449,3 +1449,4 @@
        Updated paragui to 1.0.4nb4 [wiz 2004-03-12]
        Updated ispell-german to 20030222 [recht 2004-03-12]
        Updated asc to 1.14.0.0 [wiz 2004-03-12]
+       Updated db4 to 4.1.25nb1 [jlam 2004-03-12]



Home | Main Index | Thread Index | Old Index