pkgsrc/databases/qdbm/patches/patch-ae
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

40 lines
1.4 KiB
Text

$NetBSD: patch-ae,v 1.6 2014/05/31 07:28:57 obache Exp $
* pkgsrc layout style
* prevent to overwrite with unwanted variables
--- plus/Makefile.in.orig 2007-03-07 02:44:50.000000000 +0000
+++ plus/Makefile.in
@@ -34,27 +34,27 @@ exec_prefix = @exec_prefix@
MYHEADDIR = @includedir@
MYLIBDIR = @libdir@
MYBINDIR = @bindir@
-MYDATADIR = @datadir@/$(PACKAGE)/plus
+MYDATADIR = @datadir@/doc/$(PACKAGE)/plus
DESTDIR =
# Building binaries
CXX = @CXX@
CPPFLAGS = @CPPFLAGS@ -I$(srcdir) -I$(srcdir)/.. -I$(MYHEADDIR) \
- -I$(HOME)/include -I/usr/local/include @MYDEFS@ \
+ @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
-CXXFLAGS = -Wall -ansi -pedantic -fsigned-char -fPIC -O2 -fno-strict-aliasing @MYOPTS@
+CXXFLAGS += ${PTHREAD_CFLAGS} -Wall -ansi -pedantic -fsigned-char -fPIC -fno-strict-aliasing @MYOPTS@
LD = @LD@
LIBS = -lqdbm @LIBS@
LIBLDFLAGS = @LDFLAGS@ -L. -L$(srcdir)/.. -L$(MYLIBDIR) \
-L$(HOME)/lib -L/usr/local/lib $(LIBS)
LDFLAGS = @LDFLAGS@ -L. -L$(srcdir)/.. -L$(MYLIBDIR) \
-L$(HOME)/lib -L/usr/local/lib -lxqdbm $(LIBS)
-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib
+LDENV =
AR = @AR@
ARFLAGS = rcsv
-RUNENV = LD_LIBRARY_PATH=.:..:/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib
+RUNENV = LD_LIBRARY_PATH=.:..