summaryrefslogtreecommitdiff
path: root/databases/qdbm/patches/patch-aa
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-10-23 19:01:56 +0000
committerminskim <minskim@pkgsrc.org>2005-10-23 19:01:56 +0000
commitfa252f2a4d2aee4b4c264d3c713ec627ad45033d (patch)
tree99679c25986ab6b0f02c2f33b5834abdbc0ca9ac /databases/qdbm/patches/patch-aa
parent090654314fc8e6fcc0e62ce1f0bed5c8676521d0 (diff)
downloadpkgsrc-fa252f2a4d2aee4b4c264d3c713ec627ad45033d.tar.gz
Import qdbm from pkgsrc-wip. Packaged by OBATA Akio.
QDBM is an embeded database library compatible with GDBM and NDBM. It features hash database and B+ tree database and is developed referring to GDBM for the purpose of the following three points: higher processing speed, smaller size of a database file, and simpler API. This package includes APIs for C, C++, and Java. CGI scripts are also contained. APIs for Perl and Ruby should be installed with a source package.
Diffstat (limited to 'databases/qdbm/patches/patch-aa')
-rw-r--r--databases/qdbm/patches/patch-aa29
1 files changed, 29 insertions, 0 deletions
diff --git a/databases/qdbm/patches/patch-aa b/databases/qdbm/patches/patch-aa
new file mode 100644
index 00000000000..e2c4a10f2c5
--- /dev/null
+++ b/databases/qdbm/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/10/23 19:01:56 minskim Exp $
+
+--- Makefile.in.orig 2005-09-01 04:19:56.000000000 +0900
++++ Makefile.in
+@@ -45,13 +45,13 @@ MYLIBDIR = @libdir@
+ MYBINDIR = @bindir@
+ MYMAN1DIR = @mandir@/man1
+ MYMAN3DIR = @mandir@/man3
+-MYDATADIR = @datadir@/$(PACKAGE)
++MYDATADIR = @datadir@/doc/$(PACKAGE)
+ MYPCDIR = @libdir@/pkgconfig
+ DESTDIR =
+
+ # Building binaries
+ CC = @CC@
+-RELCFLAGS = -O2 -fomit-frame-pointer -DNDEBUG
++RELCFLAGS = $(PTHREAD_CFLAGS) -O2 -fomit-frame-pointer -DNDEBUG
+ CPPFLAGS = -I$(srcdir) -I$(HOME)/include -I/usr/local/include @MYDEFS@ \
+ -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \
+ -D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 \
+@@ -59,7 +59,7 @@ CPPFLAGS = -I$(srcdir) -I$(HOME)/include
+ CFLAGS = -Wall -ansi -pedantic -fPIC -fsigned-char $(RELCFLAGS)
+ LD = @LD@
+ LIBS = -lqdbm @LIBS@
+-LIBLDFLAGS = -L. -L$(HOME)/lib -L/usr/local/lib @LIBS@
++LIBLDFLAGS = $(PTHREAD_LDFLAGS) -L. -L$(HOME)/lib -L/usr/local/lib @LIBS@
+ LDFLAGS = -L. -L$(HOME)/lib -L/usr/local/lib $(LIBS)
+ LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:$(MYLIBDIR)
+ AR = @AR@