6c82791856
Changes: 2009-02-16 Mikio Hirabayashi <mikio@users.sourceforge.net> * tcrdb.h: the macro "RDBITOPT" was added. * mycond.h, mycond.c, ttutil.c: Solaris portability was added thanks to tamtam. - Release: 1.1.16
17 lines
729 B
Text
17 lines
729 B
Text
$NetBSD: patch-aa,v 1.3 2009/02/19 06:31:55 obache Exp $
|
|
|
|
Honor CFLAGS and LDFLAGS passwed to configure script.
|
|
|
|
--- Makefile.in.orig 2009-02-16 08:35:25.000000000 +0000
|
|
+++ Makefile.in
|
|
@@ -54,8 +54,8 @@ CPPFLAGS = @MYCPPFLAGS@ \
|
|
-D_TT_PREFIX="\"$(prefix)\"" -D_TT_INCLUDEDIR="\"$(INCLUDEDIR)\"" \
|
|
-D_TT_LIBDIR="\"$(LIBDIR)\"" -D_TT_BINDIR="\"$(BINDIR)\"" -D_TT_LIBEXECDIR="\"$(LIBEXECDIR)\"" \
|
|
-D_TT_APPINC="\"-I$(INCLUDEDIR)\"" -D_TT_APPLIBS="\"-L$(LIBDIR) -ltokyotyrant @LIBS@\""
|
|
-CFLAGS = @MYCFLAGS@
|
|
-LDFLAGS = @MYLDFLAGS@
|
|
+CFLAGS = @CFLAGS@ @MYCFLAGS@
|
|
+LDFLAGS = @LDFLAGS@ @MYLDFLAGS@
|
|
CMDLDFLAGS = @MYCMDLDFLAGS@
|
|
LIBS = @LIBS@
|
|
LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
|