pkgsrc/databases/qdbm/patches/patch-ad
obache cec9995212 Update qdbm to 1.8.78.
2007-12-22  Mikio Hirabayashi  <mikio@fallabs.com>

	- Converters from Depot/Curia/Villa to TCHDB/TCBDB were added.

	- Release: 1.8.78
2014-05-31 07:28:57 +00:00

25 lines
953 B
Text

$NetBSD: patch-ad,v 1.6 2014/05/31 07:28:57 obache Exp $
* match to pkgsrc layout style
* prevent to overwrite with unwanted variables
--- java/Makefile.in.orig 2007-03-07 02:47:59.000000000 +0000
+++ java/Makefile.in
@@ -37,7 +37,7 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
MYHEADDIR = @includedir@
MYLIBDIR = @libdir@
-MYDATADIR = @datadir@/$(PACKAGE)/java
+MYDATADIR = @datadir@/doc/$(PACKAGE)/java
DESTDIR =
# Building binaries
@@ -56,7 +56,7 @@ CPPFLAGS = @CPPFLAGS@ -I$(srcdir) -I$(sr
@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 \
-DPIC=1 -D_THREAD_SAFE=1 -D_REENTRANT=1 -DNDEBUG
-CFLAGS = -Wall -fPIC -fsigned-char -O2 @MYOPTS@
+CFLAGS = ${PTHREAD_CFLAGS} -Wall -fPIC -fsigned-char -O2 @MYOPTS@
LD = @LD@
LIBS = -lqdbm @LIBS@
LIBLDFLAGS = @LDFLAGS@ -L. -L$(srcdir)/.. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib $(LIBS)