summaryrefslogtreecommitdiff
path: root/databases/gdbm_primitive/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-07-04 20:03:29 +0000
committerwiz <wiz@pkgsrc.org>2002-07-04 20:03:29 +0000
commit8507b7648d1b474a80cef589aaba12e0033c81ab (patch)
treec4e8a9e88fc28614d8fe6561c0ef67e8bd1c4c5d /databases/gdbm_primitive/patches
parent9e56b4413a951057ce4e497d800fded74e3e3f5e (diff)
downloadpkgsrc-8507b7648d1b474a80cef589aaba12e0033c81ab.tar.gz
Initial import of gdbm_primitive:
A collection of small binaries to access and modify GDBM databases. Supplied by Ola Eriksson in pkg/15521, with buildlinking and some cleanup by me.
Diffstat (limited to 'databases/gdbm_primitive/patches')
-rw-r--r--databases/gdbm_primitive/patches/patch-aa27
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/gdbm_primitive/patches/patch-aa b/databases/gdbm_primitive/patches/patch-aa
new file mode 100644
index 00000000000..15e7c4e200d
--- /dev/null
+++ b/databases/gdbm_primitive/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/04 20:03:30 wiz Exp $
+
+--- Makefile.orig Thu Nov 30 07:44:57 2000
++++ Makefile
+@@ -9,17 +9,19 @@
+ # Copyright (c) 2000 Jonathan B. Leffert <jonathan@leffert.net>
+ # All rights reserved.
+
++prefix = ${PREFIX}
++
+ VERSION=1.15
+ PKG=gdbm_primitive
+
+ CC = gcc
+-CFLAGS = -O2 -pedantic -Wall -I/opt/include -DVERSION=$(VERSION)
++CFLAGS = -O2 -pedantic -Wall -DVERSION=$(VERSION) -I${BUILDLINK_DIR}/include
+
+ PROGS = gdbm-clear gdbm-create gdbm-dump gdbm-exists gdbm-keys gdbm-load \
+ gdbm-get gdbm-put gdbm-remove gdbm-revget
+-LIBS = -L/opt/lib -lgdbm
++LIBS = -L${BUILDLINK_DIR}/lib -Wl,-R${PREFIX}/lib -lgdbm
+
+-INSTALL_PREFIX=/opt/pkgs/gdbm_primitive-$(VERSION)
++INSTALL_PREFIX=${prefix}
+
+ .c.o:
+ $(CC) $(CFLAGS) -c $<