pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/opencobol Added support for BDB185_DEFAULT=db4, f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/20ba9b0a59e3
branches: trunk
changeset: 523882:20ba9b0a59e3
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Jan 14 15:19:04 2007 +0000
description:
Added support for BDB185_DEFAULT=db4, from David A. Holland, via PR 35417.
diffstat:
lang/opencobol/Makefile | 5 ++++-
lang/opencobol/distinfo | 3 ++-
lang/opencobol/patches/patch-ab | 21 +++++++++++++++++++++
3 files changed, 27 insertions(+), 2 deletions(-)
diffs (54 lines):
diff -r bdd28a43db18 -r 20ba9b0a59e3 lang/opencobol/Makefile
--- a/lang/opencobol/Makefile Sun Jan 14 15:00:54 2007 +0000
+++ b/lang/opencobol/Makefile Sun Jan 14 15:19:04 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/01/11 11:56:08 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2007/01/14 15:19:04 rillig Exp $
#
DISTNAME= open-cobol-0.32
@@ -33,4 +33,7 @@
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
+.if ${BDB_TYPE} != "db1"
+CONFIGURE_ARGS+= --with-db
+.endif
.include "../../mk/bsd.pkg.mk"
diff -r bdd28a43db18 -r 20ba9b0a59e3 lang/opencobol/distinfo
--- a/lang/opencobol/distinfo Sun Jan 14 15:00:54 2007 +0000
+++ b/lang/opencobol/distinfo Sun Jan 14 15:19:04 2007 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2007/01/06 20:45:45 rillig Exp $
+$NetBSD: distinfo,v 1.6 2007/01/14 15:19:04 rillig Exp $
SHA1 (open-cobol-0.32.tar.gz) = 9d30d0107b098c4638aa78643d833b9b2946565e
RMD160 (open-cobol-0.32.tar.gz) = 920efc8f63f5b3f9204934108f16812569d9675c
Size (open-cobol-0.32.tar.gz) = 768635 bytes
SHA1 (patch-aa) = 635e0ec19fdcf689fc6dfdbd910825c791825c36
+SHA1 (patch-ab) = 85f82b5c7f4a2a9cbb8b830a5d3c4a6d55e531f9
diff -r bdd28a43db18 -r 20ba9b0a59e3 lang/opencobol/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/opencobol/patches/patch-ab Sun Jan 14 15:19:04 2007 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.3 2007/01/14 15:19:04 rillig Exp $
+
+This patch supports the pkgsrc setting BDB185_DEFAULT=db4. According to
+its author, David A. Holland, it is still a hack.
+
+From PR 35417.
+
+--- libcob/fileio.c.orig 2005-05-03 05:31:14.000000000 -0400
++++ libcob/fileio.c 2007-01-13 11:42:01.000000000 -0500
+@@ -48,7 +48,11 @@
+ #endif
+
+ #if HAVE_DBOPEN
++#if defined(WITH_DB)
++#include <db_185.h>
++#else
+ #include <db.h>
++#endif
+ #else
+ #if HAVE_DB1_DB_H
+ #include <db1/db.h>
Home |
Main Index |
Thread Index |
Old Index