aboutsummaryrefslogtreecommitdiff
path: root/databases/ruby-bdb1
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-02-23 16:23:35 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-02-23 16:23:35 +0000
commita9e99979a4513067e9b69bf0a91fd4ebdbd43c92 (patch)
tree668fb2b79487f5219a1a09e04822d9ecc0b42ee3 /databases/ruby-bdb1
parent074b6e889bbcc29311f32d7d06867aaa5f5c27e2 (diff)
downloadports-a9e99979a4513067e9b69bf0a91fd4ebdbd43c92.tar.gz
ports-a9e99979a4513067e9b69bf0a91fd4ebdbd43c92.zip
Notes
Diffstat (limited to 'databases/ruby-bdb1')
-rw-r--r--databases/ruby-bdb1/Makefile3
-rw-r--r--databases/ruby-bdb1/distinfo2
-rw-r--r--databases/ruby-bdb1/files/patch-extconf.rb13
-rw-r--r--databases/ruby-bdb1/files/patch-openmode33
-rw-r--r--databases/ruby-bdb1/pkg-plist2
5 files changed, 3 insertions, 50 deletions
diff --git a/databases/ruby-bdb1/Makefile b/databases/ruby-bdb1/Makefile
index 7c58c4dae6ee..5000a0c4a425 100644
--- a/databases/ruby-bdb1/Makefile
+++ b/databases/ruby-bdb1/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= bdb1
-PORTVERSION= 0.1.4
-PORTREVISION= 1
+PORTVERSION= 0.1.5
CATEGORIES= databases ruby
MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
diff --git a/databases/ruby-bdb1/distinfo b/databases/ruby-bdb1/distinfo
index 70c03a269611..3b5226b3fa5d 100644
--- a/databases/ruby-bdb1/distinfo
+++ b/databases/ruby-bdb1/distinfo
@@ -1 +1 @@
-MD5 (ruby/bdb1-0.1.4.tar.gz) = 18015af38fedeff04bc5c747d3289c70
+MD5 (ruby/bdb1-0.1.5.tar.gz) = 2273fa7f672e7b9a56b91d5fe273839f
diff --git a/databases/ruby-bdb1/files/patch-extconf.rb b/databases/ruby-bdb1/files/patch-extconf.rb
deleted file mode 100644
index a5487d6e4bf5..000000000000
--- a/databases/ruby-bdb1/files/patch-extconf.rb
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/extconf.rb.orig Mon Nov 26 22:35:33 2001
-+++ src/extconf.rb Wed Jan 16 07:00:46 2002
-@@ -6,7 +6,9 @@
- end
- $CFLAGS += " -I#{incdir}" if incdir = with_config("db-include-dir")
- $LDFLAGS += " -I#{libdir}" if libdir = with_config("db-lib-dir")
--if !(have_library("db1", "__hash_open") || have_library("db", "__hash_open"))
-+if !(have_func("__hash_open") || \
-+ have_library("db1", "__hash_open") || \
-+ have_library("db", "__hash_open"))
- raise "libdb.a not found"
- end
- create_makefile("bdb1")
diff --git a/databases/ruby-bdb1/files/patch-openmode b/databases/ruby-bdb1/files/patch-openmode
deleted file mode 100644
index 4557b9be21a7..000000000000
--- a/databases/ruby-bdb1/files/patch-openmode
+++ /dev/null
@@ -1,33 +0,0 @@
---- docs/hashlike1.rd.orig Mon Nov 26 22:56:37 2001
-+++ docs/hashlike1.rd Wed Feb 20 13:17:39 2002
-@@ -56,6 +56,10 @@
- and it is an error to specify it in a transaction
- protected environment.
-
-+ : ((|BDB1::WRITE|))
-+ Open the database for writing. Without this, any attempt to
-+ modify items in the database will fail.
-+
- : ((|options for all classes|))
- Hash, Possible options are
-
-diff -ru bdb1-0.1.4.orig/src/bdb1.c bdb1-0.1.4/src/bdb1.c
---- src/bdb1.c.orig Mon Jan 14 00:18:01 2002
-+++ src/bdb1.c Wed Feb 20 13:12:40 2002
-@@ -449,7 +449,7 @@
- if (strcmp(RSTRING(c)->ptr, "r") == 0)
- oflags = DB_RDONLY;
- else if (strcmp(RSTRING(c)->ptr, "r+") == 0)
-- oflags = 0;
-+ oflags = DB_WRITE;
- else if (strcmp(RSTRING(c)->ptr, "w") == 0 ||
- strcmp(RSTRING(c)->ptr, "w+") == 0)
- oflags = DB_CREATE | DB_TRUNCATE | DB_WRITE;
-@@ -1320,6 +1320,7 @@
- rb_define_const(bdb1_mDb, "RDONLY", INT2FIX(DB_RDONLY));
- rb_define_const(bdb1_mDb, "SET_RANGE", INT2FIX(DB_SET_RANGE));
- rb_define_const(bdb1_mDb, "TRUNCATE", INT2FIX(DB_TRUNCATE));
-+ rb_define_const(bdb1_mDb, "WRITE", INT2FIX(DB_WRITE));
- rb_define_const(bdb1_mDb, "NOOVERWRITE", INT2FIX(DB_NOOVERWRITE));
- /* DATABASE */
- bdb1_cCommon = rb_define_class_under(bdb1_mDb, "Common", rb_cObject);
diff --git a/databases/ruby-bdb1/pkg-plist b/databases/ruby-bdb1/pkg-plist
index 4879755feb54..61909c40bac8 100644
--- a/databases/ruby-bdb1/pkg-plist
+++ b/databases/ruby-bdb1/pkg-plist
@@ -2,7 +2,7 @@
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb1/basic.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb1/func.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb1/recno.rb
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb1/tmp/recno.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb1/record.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb1/wordtest
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/bdb1/tmp
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/bdb1